mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 11:35:37 +01:00
feat: use nuqs to manange search params
This commit is contained in:
parent
60eaaaff60
commit
0b0c39a3a5
5 changed files with 44 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ import '@fontsource/inter/700.css';
|
|||
import 'react-basics/dist/styles.css';
|
||||
import '@/styles/index.css';
|
||||
import '@/styles/variables.css';
|
||||
|
||||
import { NuqsAdapter } from 'nuqs/adapters/next/app';
|
||||
export default function ({ children }) {
|
||||
if (process.env.DISABLE_UI) {
|
||||
return (
|
||||
|
|
@ -32,7 +32,9 @@ export default function ({ children }) {
|
|||
<meta name="robots" content="noindex,nofollow" />
|
||||
</head>
|
||||
<body suppressHydrationWarning>
|
||||
<Providers>{children}</Providers>
|
||||
<Providers>
|
||||
<NuqsAdapter>{children}</NuqsAdapter>
|
||||
</Providers>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue