2023-12-03 22:54:18 +00:00
|
|
|
import * as React from "react"
|
|
|
|
import { RouterProvider } from "react-router-dom"
|
2023-12-04 20:35:01 +00:00
|
|
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query"
|
2023-12-01 19:56:14 +00:00
|
|
|
|
2023-12-03 22:54:18 +00:00
|
|
|
import { RootLayout } from "./components/RootLayout"
|
|
|
|
import { router } from "./router"
|
2023-12-02 15:00:42 +00:00
|
|
|
|
2023-12-04 20:35:01 +00:00
|
|
|
const queryClient = new QueryClient()
|
|
|
|
|
2023-12-01 19:56:14 +00:00
|
|
|
export default function App() {
|
|
|
|
return (
|
2023-12-04 20:35:01 +00:00
|
|
|
<QueryClientProvider client={queryClient}>
|
|
|
|
<RootLayout>
|
|
|
|
<RouterProvider router={router} />
|
|
|
|
</RootLayout>
|
|
|
|
</QueryClientProvider>
|
2023-12-03 22:54:18 +00:00
|
|
|
)
|
2023-12-01 19:56:14 +00:00
|
|
|
}
|