fix security bug deploy
This commit is contained in:
@@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user