mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-06 00:04:39 +00:00
fix: ``useSearchParams() should be wrapped in a suspense boundary at page "/login".
``
This commit is contained in:
parent
3378d5b99e
commit
a5c19eadea
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
||||||
|
import dynamic from "next/dynamic";
|
||||||
import { LoginPage } from "#/pages/Login";
|
import { LoginPage } from "#/pages/Login";
|
||||||
|
|
||||||
|
const LoginDynamic = dynamic(() => Promise.resolve(LoginPage), {
|
||||||
|
ssr: false,
|
||||||
|
});
|
||||||
export default function Login() {
|
export default function Login() {
|
||||||
return <LoginPage />;
|
return <LoginDynamic />;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue