From 19b94cf3a729040cb0e65fc82dc579e3cf5e0f9d Mon Sep 17 00:00:00 2001 From: Roo Code Date: Wed, 7 Jan 2026 23:13:20 +0000 Subject: [PATCH] fix: wrap cli-preview content in Suspense boundary Fixes Next.js build error: useSearchParams() requires Suspense boundary for static generation. --- apps/web-roo-code/src/app/cli-preview/page.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/web-roo-code/src/app/cli-preview/page.tsx b/apps/web-roo-code/src/app/cli-preview/page.tsx index fcceddde90..5c0595289b 100644 --- a/apps/web-roo-code/src/app/cli-preview/page.tsx +++ b/apps/web-roo-code/src/app/cli-preview/page.tsx @@ -1,4 +1,5 @@ import type { Metadata } from "next" +import { Suspense } from "react" import { SEO } from "@/lib/seo" import { ogImageUrl } from "@/lib/og" @@ -45,5 +46,12 @@ export const metadata: Metadata = { } export default function CliPreviewPage() { - return + return ( + + }> + + + ) }