We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa0079 commit 49a25aeCopy full SHA for 49a25ae
store/AuthStore/useAuthStore.ts
@@ -68,7 +68,7 @@ export const useAuthStore = create<authStore>((set) => ({
68
const response = await axios.post('/api/auth/register', signupMetaData);
69
if (response.status === 201) {
70
set({ user: signupMetaData });
71
- router.push('/dashboard');
+ router.push('/auth/signin');
72
set({ signupError: null });
73
}
74
} catch (error: any) {
0 commit comments