Skip to content

Commit

Permalink
chore: bump nuqs (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkaske authored Nov 27, 2024
1 parent f535bc6 commit 79c7dc4
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 55 deletions.
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"next-auth": "5.0.0-beta.21",
"next-plausible": "3.12.0",
"next-themes": "0.2.1",
"nuqs": "1.19.1",
"nuqs": "2.2.3",
"posthog-js": "1.136.1",
"posthog-node": "4.0.1",
"random-word-slugs": "0.1.7",
Expand Down
17 changes: 10 additions & 7 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
import { TailwindIndicator } from "@/components/tailwind-indicator";
import { ThemeProvider } from "@/components/theme-provider";
import { TRPCReactQueryProvider } from "@/trpc/rq-client";
import { NuqsAdapter } from "nuqs/adapters/next/app";
import Background from "./_components/background";

const inter = Inter({ subsets: ["latin"] });
Expand Down Expand Up @@ -46,13 +47,15 @@ export default function RootLayout({
// biome-ignore lint/nursery/useSortedClasses: <explanation>
} ${calSans.variable}`}
>
<ThemeProvider attribute="class" defaultTheme="light" enableSystem>
<TRPCReactQueryProvider>
<Background>{children}</Background>
<Toaster richColors closeButton />
<TailwindIndicator />
</TRPCReactQueryProvider>
</ThemeProvider>
<NuqsAdapter>
<ThemeProvider attribute="class" defaultTheme="light" enableSystem>
<TRPCReactQueryProvider>
<Background>{children}</Background>
<Toaster richColors closeButton />
<TailwindIndicator />
</TRPCReactQueryProvider>
</ThemeProvider>
</NuqsAdapter>
</body>
</html>
);
Expand Down
66 changes: 19 additions & 47 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 79c7dc4

Please sign in to comment.