The open-source CapCut alternative
fix: redirects to /projects after login instead of /editor
omraval183e45be5c4701
diff --git a/apps/web/src/hooks/auth/useLogin.ts b/apps/web/src/hooks/auth/useLogin.tsindex 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.");