fix(ui): use LoadingScreen in RootLayout suspense fallback
This commit is contained in:
parent
63f4511020
commit
0aa93d0440
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export default function RootLayout({
|
|||
<body className={`font-sans ${GeistSans.variable} ${GeistMono.variable} antialiased`}>
|
||||
<I18nProvider>
|
||||
<NotificationProvider>
|
||||
<Suspense fallback={<div>Loading...</div>}>{children}</Suspense>
|
||||
<Suspense fallback={<LoadingScreen text="GoHorse Jobs" />}>{children}</Suspense>
|
||||
<Toaster
|
||||
position="top-right"
|
||||
richColors
|
||||
|
|
|
|||
Loading…
Reference in a new issue