start onboarding only for new account creations

This commit is contained in:
Ansh Nanda 2023-08-28 18:53:58 -07:00
parent bcef7400db
commit 8f0f3be8fb
3 changed files with 17 additions and 20 deletions

View file

@ -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 {