Skip to content

Commit 4540db1

Browse files
Update apps/website/src/components/providers/providers.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent a114a97 commit 4540db1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ThemeProvider } from "next-themes"
55
import { PostHogProvider } from "./posthog-provider"
66

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

1010
return (
1111
<QueryClientProvider client={queryClient}>

0 commit comments

Comments
 (0)