Skip to content

Commit 1d046c8

Browse files
committed
fix: re-enable AdBanner with client-side only rendering and mount delay
1 parent 0fe2bed commit 1d046c8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/app/layout.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ export default function RootLayout({
6060
<ToastProvider>
6161
<Navbar />
6262
<main style={{ padding: "2rem 0" }}>{children}</main>
63-
{/* AdBanner temporarily disabled due to width calculation issues */}
64-
{/* <div style={{ maxWidth: '1200px', margin: '0 auto', textAlign: 'center' }}>
63+
<div style={{ maxWidth: '1200px', margin: '0 auto', textAlign: 'center' }}>
6564
<AdBanner dataAdSlot="3325660893" />
66-
</div> */}
65+
</div>
6766
</ToastProvider>
6867
</UndoProvider>
6968
</ThemeProvider>

0 commit comments

Comments
 (0)