import { QueryClientProvider } from "@tanstack/react-query";
import { queryClient } from "../config/queryClient";
import type { PropsWithChildren } from "react";

export const AppProviders = ({ children }: PropsWithChildren) => {
  return <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>;
};
