This commit is contained in:
shadcn
2026-03-06 17:13:13 +04:00
parent d2776903c2
commit b44ca370f1
13 changed files with 3 additions and 3 deletions

View File

@@ -11,8 +11,8 @@ import {
import { useIframeMessageListener } from "@/app/(create)/hooks/use-iframe-sync"
import { FONTS } from "@/app/(create)/lib/fonts"
import {
type DesignSystemSearchParams,
useDesignSystemSearchParams,
type DesignSystemSearchParams,
} from "@/app/(create)/lib/search-params"
export function DesignSystemProvider({

View File

@@ -29,7 +29,7 @@ export async function GET(request: NextRequest) {
track("create_app", {
...result.data,
preset: searchParams.get("preset") ?? undefined,
preset: searchParams.get("preset") ?? "",
})
return NextResponse.json(parseResult.data)

View File

@@ -17,7 +17,7 @@ export async function GET(request: NextRequest) {
after(() => {
track("create_open_in_v0", {
...result.data,
preset: searchParams.get("preset") ?? undefined,
preset: searchParams.get("preset") ?? "",
})
})