File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ import { Suspense } from 'react'
4
4
import { Countdown } from '../components/countdown'
5
5
import { ReactParisLogo } from '../components/react-paris'
6
6
7
+ // Note: top-level banners go into src/app/layout.tsx
8
+ // Note: sidebar banners go into src/app/docs/layout.tsx & playground/layout.tsx
9
+
7
10
export function NuqsV2AnnouncementTopBanner ( ) {
8
11
return (
9
12
< Banner
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { NuqsAdapter } from 'nuqs/adapters/next'
6
6
import type { ReactNode } from 'react'
7
7
import { ResponsiveHelper } from '../components/responsive-helpers'
8
8
import { cn } from '../lib/utils'
9
- import { NuqsV2AnnouncementTopBanner } from './banners'
10
9
import './globals.css'
11
10
12
11
const inter = Inter ( {
@@ -39,7 +38,7 @@ export default function Layout({ children }: { children: ReactNode }) {
39
38
suppressHydrationWarning
40
39
>
41
40
< body >
42
- < NuqsV2AnnouncementTopBanner />
41
+ { /* Top-level banners go here */ }
43
42
< RootProvider >
44
43
< NuqsAdapter > { children } </ NuqsAdapter >
45
44
</ RootProvider >
You can’t perform that action at this time.
0 commit comments