about summary refs log tree commit diff
path: root/src/state/persisted/schema.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-11-07 16:39:13 -0800
committerGitHub <noreply@github.com>2023-11-07 16:39:13 -0800
commit2acc88e78df1c1f4c21bf9a333f3432781a64135 (patch)
treee331e9c7f79441f2643f1b7f13b00563baea2899 /src/state/persisted/schema.ts
parent96d8faf4b052060b8774ac38c3400ab7d75451ad (diff)
downloadvoidsky-2acc88e78df1c1f4c21bf9a333f3432781a64135.tar.zst
Move reminders to new persisted state layer (#1834)
Diffstat (limited to 'src/state/persisted/schema.ts')
-rw-r--r--src/state/persisted/schema.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/persisted/schema.ts b/src/state/persisted/schema.ts
index 1c5d317cc..c00ee500a 100644
--- a/src/state/persisted/schema.ts
+++ b/src/state/persisted/schema.ts
@@ -19,7 +19,7 @@ export const schema = z.object({
     currentAccount: accountSchema.optional(),
   }),
   reminders: z.object({
-    lastEmailConfirmReminder: z.string().optional(),
+    lastEmailConfirm: z.string().optional(),
   }),
   languagePrefs: z.object({
     primaryLanguage: z.string(), // should move to server
@@ -46,7 +46,7 @@ export const defaults: Schema = {
     currentAccount: undefined,
   },
   reminders: {
-    lastEmailConfirmReminder: undefined,
+    lastEmailConfirm: undefined,
   },
   languagePrefs: {
     primaryLanguage: deviceLocales[0] || 'en',