summaryrefslogtreecommitdiff
path: root/apps/web
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-12 16:51:18 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-12 16:51:18 +0200
commit0a0f68d7111e62a9aecd0848f6a5d2eb3f4f99bd (patch)
tree2085118081822676c115279857d25f67e467c443 /apps/web
parent57dace960c26cd49dfb6855ede0f5746ec6609de (diff)
parent25d12a6fa44cf61dbfaf43f6ea629c5c3569aa28 (diff)
downloadopencut-0a0f68d7111e62a9aecd0848f6a5d2eb3f4f99bd.tar.gz
Merge branch 'main' of https://github.com/mazeincoding/AppCut
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/src/hooks/auth/useLogin.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/hooks/auth/useLogin.ts b/apps/web/src/hooks/auth/useLogin.ts
index 3737deb3..12eddcbf 100644
--- a/apps/web/src/hooks/auth/useLogin.ts
+++ b/apps/web/src/hooks/auth/useLogin.ts
@@ -25,7 +25,7 @@ export function useLogin() {
return;
}
- router.push("/editor");
+ router.push("/projects");
}, [router, email, password]);
const handleGoogleLogin = async () => {
@@ -35,7 +35,7 @@ export function useLogin() {
try {
await signIn.social({
provider: "google",
- callbackURL: "/editor",
+ callbackURL: "/projects",
});
} catch (error) {
setError("Failed to sign in with Google. Please try again.");