about summary refs log tree commit diff
path: root/src/state/models/ui/create-account.ts
diff options
context:
space:
mode:
authorAnsh Nanda <anshnanda10@gmail.com>2023-08-28 18:53:58 -0700
committerAnsh Nanda <anshnanda10@gmail.com>2023-08-28 18:53:58 -0700
commit8f0f3be8fb6255df5be6b4650b0770e7829e1a60 (patch)
treedc75cf458e370692bfcdf0753df732e978a83ee1 /src/state/models/ui/create-account.ts
parentbcef7400db65b1a1ce01c655bc0e16530254de5a (diff)
downloadvoidsky-8f0f3be8fb6255df5be6b4650b0770e7829e1a60.tar.zst
start onboarding only for new account creations
Diffstat (limited to 'src/state/models/ui/create-account.ts')
-rw-r--r--src/state/models/ui/create-account.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/ui/create-account.ts b/src/state/models/ui/create-account.ts
index 04e1554c6..d9d4f51b9 100644
--- a/src/state/models/ui/create-account.ts
+++ b/src/state/models/ui/create-account.ts
@@ -109,10 +109,10 @@ export class CreateAccountModel {
     this.setError('')
     this.setIsProcessing(true)
 
-    // open the onboarding modal after the session is created
+    // open the onboarding screens after the session is created
     const sessionReadySub = this.rootStore.onSessionReady(() => {
       sessionReadySub.remove()
-      this.rootStore.shell.openModal({name: 'onboarding'})
+      this.rootStore.onboarding.start()
     })
 
     try {