mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
Fix build with suspense boundary
This commit is contained in:
parent
e0d363420b
commit
2111a77a5c
1 changed files with 4 additions and 1 deletions
|
|
@ -1,9 +1,12 @@
|
|||
import { LoginForm } from "./components/loginForm";
|
||||
import { Suspense } from "react";
|
||||
|
||||
export default async function Login() {
|
||||
return (
|
||||
<div className="flex flex-col justify-center items-center h-screen">
|
||||
<LoginForm />
|
||||
<Suspense fallback={<div>Loading...</div>}>
|
||||
<LoginForm />
|
||||
</Suspense>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue