import { QueryClient } from '@tanstack/react-query';
import { STALE_TIME } from './constants.js';

export const queryClient = new QueryClient({
  defaultOptions: {
    queries: {
      staleTime: STALE_TIME.DEFAULT,
      retry: 1,
    },
  },
});
