diff options
author | dan <dan.abramov@gmail.com> | 2023-12-06 00:28:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 00:28:11 +0000 |
commit | fab9f839d0234d1df7e595f53eff17177f5a9c67 (patch) | |
tree | 4a453fea5d587a57d192dd33082e6a280c4d0ce5 /src/state/shell | |
parent | e7f973852f0b7f086d7648c4a978c0c46025c2eb (diff) | |
download | voidsky-fab9f839d0234d1df7e595f53eff17177f5a9c67.tar.zst |
Fix email confirmation dialog on startup (#2097)
* Move init time logging to a fn, add guard * Fix email confirmation dialog on startup
Diffstat (limited to 'src/state/shell')
-rw-r--r-- | src/state/shell/reminders.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/state/shell/reminders.ts b/src/state/shell/reminders.ts index 88d0a5d85..ee924eb00 100644 --- a/src/state/shell/reminders.ts +++ b/src/state/shell/reminders.ts @@ -2,17 +2,6 @@ import * as persisted from '#/state/persisted' import {toHashCode} from 'lib/strings/helpers' import {isOnboardingActive} from './onboarding' import {SessionAccount} from '../session' -import {listenSessionLoaded} from '../events' -import {unstable__openModal} from '../modals' - -export function init() { - listenSessionLoaded(account => { - if (shouldRequestEmailConfirmation(account)) { - unstable__openModal({name: 'verify-email', showReminder: true}) - setEmailConfirmationRequested() - } - }) -} export function shouldRequestEmailConfirmation(account: SessionAccount) { if (!account) { |