shop information

This commit is contained in:
hamid zarghami
2025-09-07 09:34:31 +03:30
parent 2995b11900
commit c1c29761dd
3 changed files with 24 additions and 8 deletions
+5
View File
@@ -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>
)
}