From 3c8036587e28d8fc90e87e4818e3f4e080fbd091 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 5 Dec 2023 19:59:34 -0600 Subject: Improvements to persisted state migration (#2098) * Fix session email/emailConfirmed types, update usage for safer access * Handle fallback better, better errors * Better handling, add test * Add test for default data * Remove fallback, not needed, update logs --- src/view/com/modals/VerifyEmail.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/view/com/modals/VerifyEmail.tsx') diff --git a/src/view/com/modals/VerifyEmail.tsx b/src/view/com/modals/VerifyEmail.tsx index 4376a3e45..786a814a7 100644 --- a/src/view/com/modals/VerifyEmail.tsx +++ b/src/view/com/modals/VerifyEmail.tsx @@ -108,8 +108,8 @@ export function Component({showReminder}: {showReminder?: boolean}) { ) : stage === Stages.ConfirmCode ? ( - An email has been sent to {currentAccount?.email || ''}. It - includes a confirmation code which you can enter below. + An email has been sent to {currentAccount?.email || '(no email)'}. + It includes a confirmation code which you can enter below. ) : ( '' @@ -125,7 +125,7 @@ export function Component({showReminder}: {showReminder?: boolean}) { size={16} /> - {currentAccount?.email || ''} + {currentAccount?.email || '(no email)'}