shop information
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { IGeneralError } from '@/types/error.types'
|
||||
import { QueryClient, QueryClientProvider, HydrationBoundary, QueryCache } from '@tanstack/react-query'
|
||||
import { ReactQueryDevtools } from '@tanstack/react-query-devtools'
|
||||
import { ReactNode, useState } from 'react'
|
||||
import { removeToken } from './func'
|
||||
import { useSharedStore } from '@/share/store/sharedStore'
|
||||
@@ -32,6 +33,10 @@ export default function QueryProvider({ children }: { children: ReactNode }) {
|
||||
<HydrationBoundary state={null}>
|
||||
{children}
|
||||
</HydrationBoundary>
|
||||
<ReactQueryDevtools
|
||||
initialIsOpen={false}
|
||||
buttonPosition="bottom-left"
|
||||
/>
|
||||
</QueryClientProvider>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user