diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-27 00:55:03 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-27 00:55:03 +0200 |
| commit | 679ebc02b5501c1432753571283501d08d83267d (patch) | |
| tree | f5a1633ed283941c68fa56fe8b191f97d47670f9 /apps/web/src/app | |
| parent | d5db4701506b6ad206ecd017ba415c4b80952f97 (diff) | |
| parent | b10bb8ed55330d98cbbb88d7e139b943a9f95f00 (diff) | |
| download | opencut-679ebc02b5501c1432753571283501d08d83267d.tar.gz | |
Merge branch 'main' of https://github.com/mazeincoding/AppCut
Diffstat (limited to 'apps/web/src/app')
| -rw-r--r-- | apps/web/src/app/(auth)/login/page.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/app/api/waitlist/route.ts | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/apps/web/src/app/(auth)/login/page.tsx b/apps/web/src/app/(auth)/login/page.tsx index 73c34e1e..755784fa 100644 --- a/apps/web/src/app/(auth)/login/page.tsx +++ b/apps/web/src/app/(auth)/login/page.tsx @@ -52,8 +52,8 @@ function LoginForm() { try { await signIn.social({ provider: "google", + callbackURL: "/editor", }); - router.push("/editor"); } catch (error) { setError("Failed to sign in with Google. Please try again."); setIsGoogleLoading(false); diff --git a/apps/web/src/app/api/waitlist/route.ts b/apps/web/src/app/api/waitlist/route.ts index 0632616b..f6f81103 100644 --- a/apps/web/src/app/api/waitlist/route.ts +++ b/apps/web/src/app/api/waitlist/route.ts @@ -1,7 +1,6 @@ import { NextRequest, NextResponse } from "next/server";
-import { db } from "@opencut/db";
+import { db, eq } from "@opencut/db";
import { waitlist } from "@opencut/db/schema";
-import { eq } from "drizzle-orm";
import { nanoid } from "nanoid";
import { waitlistRateLimit } from "@/lib/rate-limit";
import { z } from "zod";
|
