This commit is contained in:
Maze Winther
2025-06-27 00:55:03 +02:00
8 changed files with 1874 additions and 1750 deletions

View File

@ -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);

View File

@ -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";