about summary refs log tree commit diff
path: root/src/state/shell/reminders.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/shell/reminders.ts')
-rw-r--r--src/state/shell/reminders.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/state/shell/reminders.ts b/src/state/shell/reminders.ts
index d68a272ac..e7ee7a5fe 100644
--- a/src/state/shell/reminders.ts
+++ b/src/state/shell/reminders.ts
@@ -1,12 +1,9 @@
 import * as persisted from '#/state/persisted'
-import {OnboardingModel} from '../models/discovery/onboarding'
 import {SessionModel} from '../models/session'
 import {toHashCode} from 'lib/strings/helpers'
+import {isOnboardingActive} from './onboarding'
 
-export function shouldRequestEmailConfirmation(
-  session: SessionModel,
-  onboarding: OnboardingModel,
-) {
+export function shouldRequestEmailConfirmation(session: SessionModel) {
   const sess = session.currentSession
   if (!sess) {
     return false
@@ -14,7 +11,7 @@ export function shouldRequestEmailConfirmation(
   if (sess.emailConfirmed) {
     return false
   }
-  if (onboarding.isActive) {
+  if (isOnboardingActive()) {
     return false
   }
   // only prompt once