fix security bug deploy

This commit is contained in:
hamid zarghami
2025-12-16 11:20:57 +03:30
parent bd515fc93a
commit 0b9f0a347e
+2 -4
View File
@@ -1,7 +1,7 @@
'use client' 'use client'
import { IApiErrorRepsonse } from '@/types/error.types' import { IApiErrorRepsonse } from '@/types/error.types'
import { QueryClient, QueryClientProvider, HydrationBoundary, QueryCache } from '@tanstack/react-query' import { QueryClient, QueryClientProvider, QueryCache } from '@tanstack/react-query'
import { ReactNode, useState } from 'react' import { ReactNode, useState } from 'react'
import { removeToken } from './func' import { removeToken } from './func'
import { useSharedStore } from '@/shared/store/sharedStore' import { useSharedStore } from '@/shared/store/sharedStore'
@@ -27,9 +27,7 @@ export default function QueryProvider({ children }: { children: ReactNode }) {
return ( return (
<QueryClientProvider client={client}> <QueryClientProvider client={client}>
<HydrationBoundary state={{}}> {children}
{children}
</HydrationBoundary>
</QueryClientProvider> </QueryClientProvider>
) )
} }