Fix Bug
Fix Not Suspense for Login Form
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { Metadata } from "next"
|
import { Metadata } from "next"
|
||||||
|
import { Suspense } from "react"
|
||||||
import { LoginForm } from "@/modules/auth/components/login-form"
|
import { LoginForm } from "@/modules/auth/components/login-form"
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
@@ -7,5 +8,9 @@ export const metadata: Metadata = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default function LoginPage() {
|
export default function LoginPage() {
|
||||||
return <LoginForm />
|
return (
|
||||||
|
<Suspense fallback={null}>
|
||||||
|
<LoginForm />
|
||||||
|
</Suspense>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user