fix: handle case with no lang/uid for langswitcher and footer
This commit is contained in:
@@ -2,4 +2,4 @@ import { z } from "zod"
|
||||
|
||||
import { Lang } from "@/constants/languages"
|
||||
|
||||
export const headerInput = z.object({ lang: z.nativeEnum(Lang) })
|
||||
export const langInput = z.object({ lang: z.nativeEnum(Lang) })
|
||||
|
||||
Reference in New Issue
Block a user