From a5c19eadeaa535bb111169c626c24480d9031d8c Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Sun, 4 Aug 2024 14:53:19 +0500 Subject: [PATCH] fix: ```useSearchParams() should be wrapped in a suspense boundary at page "/login".``` --- app/login/page.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/login/page.tsx b/app/login/page.tsx index a3c1924..fa51bb7 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -1,4 +1,9 @@ +import dynamic from "next/dynamic"; import { LoginPage } from "#/pages/Login"; + +const LoginDynamic = dynamic(() => Promise.resolve(LoginPage), { + ssr: false, +}); export default function Login() { - return ; + return ; }