From 8f0f3be8fb6255df5be6b4650b0770e7829e1a60 Mon Sep 17 00:00:00 2001 From: Ansh Nanda Date: Mon, 28 Aug 2023 18:53:58 -0700 Subject: start onboarding only for new account creations --- src/state/models/ui/create-account.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/state/models/ui/create-account.ts') 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 { -- cgit 1.4.1