fix: only render currentlang of no other urls are available

This commit is contained in:
Christel Westerberg
2024-06-03 10:29:54 +02:00
parent 095edcce8c
commit c5b2855876
9 changed files with 57 additions and 34 deletions

View File

@@ -1,9 +0,0 @@
import z from "zod"
import { Lang } from "@/constants/languages"
export const headerInput = z
.object({
lang: z.nativeEnum(Lang),
})
.optional()