mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-01 01:20:57 -05:00
Fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Router from 'next/router'
|
||||
import { firebaseLogin } from 'web/lib/firebase/users'
|
||||
import { db } from 'web/lib/supabase/db'
|
||||
import { getProfileRow } from 'common/profiles/profile'
|
||||
import {firebaseLogin} from 'web/lib/firebase/users'
|
||||
import {db} from 'web/lib/supabase/db'
|
||||
import {getProfileRow} from 'common/profiles/profile'
|
||||
import toast from "react-hot-toast";
|
||||
|
||||
export const signupThenMaybeRedirectToSignup = async () => {
|
||||
@@ -13,7 +13,7 @@ export const signupThenMaybeRedirectToSignup = async () => {
|
||||
if (profile) {
|
||||
await Router.push('/')
|
||||
} else {
|
||||
await Router.push('/signup')
|
||||
await Router.push('/onboarding')
|
||||
}
|
||||
}
|
||||
} catch (e: any) {
|
||||
|
||||
Reference in New Issue
Block a user