Skip to content

Commit bf9e6d5

Browse files
committed
Fix tsc error
1 parent 4540db1 commit bf9e6d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/website/src/components/providers/providers.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
import { QueryClient, QueryClientProvider } from "@tanstack/react-query"
44
import { ThemeProvider } from "next-themes"
5+
56
import { PostHogProvider } from "./posthog-provider"
67

7-
export const Providers = ({ children }: { children: React.ReactNode }) => {
8-
const queryClient = React.useMemo(() => new QueryClient(), [])
8+
const queryClient = new QueryClient()
99

10+
export const Providers = ({ children }: { children: React.ReactNode }) => {
1011
return (
1112
<QueryClientProvider client={queryClient}>
1213
<PostHogProvider>

0 commit comments

Comments
 (0)