fixed settings again
This commit is contained in:
parent
9eeba8a069
commit
97d082ed1f
|
|
@ -5,6 +5,7 @@ export const userSettings = z.object({
|
||||||
longPressOnDesktop: z.boolean().default(false),
|
longPressOnDesktop: z.boolean().default(false),
|
||||||
showRevealAnimation: z
|
showRevealAnimation: z
|
||||||
.boolean()
|
.boolean()
|
||||||
|
.optional()
|
||||||
.transform((v) => typeof v === "undefined" || v),
|
.transform((v) => typeof v === "undefined" || v),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue