mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
Merge branch 'main' of https://github.com/mazeincoding/AppCut
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user