File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ export function useSubmitSignup() {
337337 * Must happen last so that if the user has multiple tabs open and
338338 * createAccount fails, one tab is not stuck in onboarding — Eric
339339 */
340- onboardingDispatch ( { type : 'start ' } )
340+ onboardingDispatch ( { type : 'finish ' } )
341341 } catch ( err ) {
342342 const e = err as Error
343343 let errMsg = e . toString ( )
Original file line number Diff line number Diff line change @@ -40,10 +40,11 @@ export function SignupQueued() {
4040 try {
4141 const res = await agent . com . atproto . temp . checkSignupQueue ( )
4242 if ( res . data . activated ) {
43- // ready to go, exchange the access token for a usable one and kick off onboarding
43+ // ready to go, exchange the access token for a usable one
4444 await agent . sessionManager . refreshSession ( )
4545 if ( ! isSignupQueued ( agent . session ?. accessJwt ) ) {
46- onboardingDispatch ( { type : 'start' } )
46+ // onboarding is skipped entirely, so mark it complete right away
47+ onboardingDispatch ( { type : 'finish' } )
4748 }
4849 } else {
4950 // not ready, update UI
You can’t perform that action at this time.
0 commit comments