We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4540db1 commit bf9e6d5Copy full SHA for bf9e6d5
apps/website/src/components/providers/providers.tsx
@@ -2,11 +2,12 @@
2
3
import { QueryClient, QueryClientProvider } from "@tanstack/react-query"
4
import { ThemeProvider } from "next-themes"
5
+
6
import { PostHogProvider } from "./posthog-provider"
7
-export const Providers = ({ children }: { children: React.ReactNode }) => {
8
- const queryClient = React.useMemo(() => new QueryClient(), [])
+const queryClient = new QueryClient()
9
10
+export const Providers = ({ children }: { children: React.ReactNode }) => {
11
return (
12
<QueryClientProvider client={queryClient}>
13
<PostHogProvider>
0 commit comments