edit get files extensions query

This commit is contained in:
smanylov
2025-12-25 15:31:24 +07:00
parent e0420fa6d3
commit e82d96a44c
6 changed files with 25 additions and 32 deletions
+4 -2
View File
@@ -6,7 +6,9 @@ import {
QueryClientProvider,
} from '@tanstack/react-query'
export function makeQueryClient() {
import { getQueryClient } from '@/app/providers/getQueryClient';
/* export function makeQueryClient() {
return new QueryClient({
defaultOptions: {
queries: {
@@ -25,7 +27,7 @@ function getQueryClient() {
if (!browserQueryClient) browserQueryClient = makeQueryClient()
return browserQueryClient
}
}
} */
export default function Providers({ children }: { children: React.ReactNode }) {
const queryClient = getQueryClient();