Skip to content

Commit 02796e3

Browse files
committed
fix build error
1 parent 951c797 commit 02796e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default function RootLayout({ children, modal }: RootLayoutProps) {
4848
</div>
4949
<Footer />
5050
</div>
51-
{modal}
51+
<Suspense fallback={null}>{modal}</Suspense>
5252
<Announcement />
5353
<Toaster richColors position="top-right" />
5454
</ThemeProvider>

0 commit comments

Comments
 (0)