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({
|
||||
placeQuestionMark: z.boolean().default(false),
|
||||
longPressOnDesktop: z.boolean().default(false),
|
||||
showRevealAnimation: z
|
||||
.boolean()
|
||||
.optional()
|
||||
.transform((v) => typeof v === "undefined" || v),
|
||||
showRevealAnimation: z.boolean().default(true),
|
||||
});
|
||||
|
||||
export type UserSettings = z.infer<typeof userSettings>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue