reverted config fix
This commit is contained in:
parent
97d082ed1f
commit
51fd7a4a23
|
|
@ -3,10 +3,7 @@ import { z } from "zod";
|
||||||
export const userSettings = z.object({
|
export const userSettings = z.object({
|
||||||
placeQuestionMark: z.boolean().default(false),
|
placeQuestionMark: z.boolean().default(false),
|
||||||
longPressOnDesktop: z.boolean().default(false),
|
longPressOnDesktop: z.boolean().default(false),
|
||||||
showRevealAnimation: z
|
showRevealAnimation: z.boolean().default(true),
|
||||||
.boolean()
|
|
||||||
.optional()
|
|
||||||
.transform((v) => typeof v === "undefined" || v),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export type UserSettings = z.infer<typeof userSettings>;
|
export type UserSettings = z.infer<typeof userSettings>;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue