import { QueryClient } from '@tanstack/react-query'
import { STALE_PROPERTIES } from './constants'

export const queryClient = new QueryClient({
  defaultOptions: {
    queries: {
      staleTime: STALE_PROPERTIES,
      retry: 1,
    },
  },
})
