This commit is contained in:
Maze Winther
2025-07-12 16:51:18 +02:00
2 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,11 @@ Thank you for your interest in contributing to OpenCut! This document provides g
4. Install dependencies: `bun install` 4. Install dependencies: `bun install`
5. Start the development server: `bun run dev` 5. Start the development server: `bun run dev`
> **Note:** If you see an error like `Unsupported URL Type "workspace:*"` when running `npm install`, you have two options:
>
> 1. Upgrade to a recent npm version (v9 or later), which has full workspace protocol support.
> 2. Use an alternative package manager such as **bun** or **pnpm**.
## Development Setup ## Development Setup
### Prerequisites ### Prerequisites

View File

@ -25,7 +25,7 @@ export function useLogin() {
return; return;
} }
router.push("/editor"); router.push("/projects");
}, [router, email, password]); }, [router, email, password]);
const handleGoogleLogin = async () => { const handleGoogleLogin = async () => {
@ -35,7 +35,7 @@ export function useLogin() {
try { try {
await signIn.social({ await signIn.social({
provider: "google", provider: "google",
callbackURL: "/editor", callbackURL: "/projects",
}); });
} catch (error) { } catch (error) {
setError("Failed to sign in with Google. Please try again."); setError("Failed to sign in with Google. Please try again.");