mirror of
https://github.com/codex-storage/codex-marketplace-ui.git
synced 2025-02-23 21:28:26 +00:00
18 lines
368 B
TypeScript
18 lines
368 B
TypeScript
import { ReactNode } from "react";
|
|
import "./App.css";
|
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
interface Props {
|
|
children: ReactNode;
|
|
}
|
|
|
|
function App({ children }: Props) {
|
|
return (
|
|
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
|
|
);
|
|
}
|
|
|
|
export default App;
|