12 lines
340 B
TypeScript
12 lines
340 B
TypeScript
import React, { PropsWithChildren } from "react";
|
|
import { QueryClientProvider } from "@tanstack/react-query";
|
|
import { queryClient } from "@/lib/query/query-client";
|
|
|
|
export function AppProvider({ children }: PropsWithChildren) {
|
|
return (
|
|
<QueryClientProvider client={queryClient}>
|
|
{children}
|
|
</QueryClientProvider>
|
|
);
|
|
}
|