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
This commit is contained in:
Eric Bailey
2023-12-05 19:59:34 -06:00
committed by GitHub
parent a915a57b10
commit 3c8036587e
9 changed files with 48 additions and 30 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ export function DesktopRightNav() {
type="md"
style={pal.link}
href={FEEDBACK_FORM_URL({
email: currentAccount!.email,
handle: currentAccount!.handle,
email: currentAccount?.email,
handle: currentAccount?.handle,
})}
text={_(msg`Feedback`)}
/>