diff options
author | Eric Bailey <git@esb.lol> | 2023-12-05 19:59:34 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 19:59:34 -0600 |
commit | 3c8036587e28d8fc90e87e4818e3f4e080fbd091 (patch) | |
tree | 4ead93f29432f91afd9c7abcac1caa790e303092 /src/view/com/modals/ChangeEmail.tsx | |
parent | a915a57b10e9e8a62d769d4de359a916dcf4ceab (diff) | |
download | voidsky-3c8036587e28d8fc90e87e4818e3f4e080fbd091.tar.zst |
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
Diffstat (limited to 'src/view/com/modals/ChangeEmail.tsx')
-rw-r--r-- | src/view/com/modals/ChangeEmail.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/modals/ChangeEmail.tsx b/src/view/com/modals/ChangeEmail.tsx index 73ab33dd4..44b102fa0 100644 --- a/src/view/com/modals/ChangeEmail.tsx +++ b/src/view/com/modals/ChangeEmail.tsx @@ -118,8 +118,8 @@ export function Component() { ) : stage === Stages.ConfirmCode ? ( <Trans> An email has been sent to your previous address,{' '} - {currentAccount?.email || ''}. It includes a confirmation code - which you can enter below. + {currentAccount?.email || '(no email)'}. It includes a + confirmation code which you can enter below. </Trans> ) : ( <Trans> |