import { QueryClient, QueryClientProvider } from '@tanstack/react-query'

const QueryContext = ({ children }) => {
  const queryClient = new QueryClient()

  return (
    <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
  )
}

export default QueryContext
