fix: ``useSearchParams() should be wrapped in a suspense boundary at page "/login".``

This commit is contained in:
Kentai Radiquum 2024-08-04 14:53:19 +05:00
parent 3378d5b99e
commit a5c19eadea
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -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 <LoginPage />;
return <LoginDynamic />;
}