Skip to content

Commit 5103b72

Browse files
committed
feat: add fallback loading message to Suspense wrapper in layout
1 parent d2f182b commit 5103b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default function RootLayout({children}: Readonly<{ children: React.ReactN
201201
return React.useMemo(() => {
202202
return <html>
203203
<body className={inter.className}>
204-
<Suspense>
204+
<Suspense fallback={"loading..."}>
205205
<ApolloProvider client={client}>
206206
<Toaster position={"top-right"}/>
207207
{children}

0 commit comments

Comments
 (0)