Files
page-assist/src/sidepanel.tsx

21 lines
570 B
TypeScript
Raw Normal View History

2023-04-09 23:28:52 +05:30
import { QueryClient, QueryClientProvider } from "@tanstack/react-query"
import { MemoryRouter } from "react-router-dom"
2024-02-01 13:40:44 +05:30
import { SidepanelRouting } from "~routes"
import { ToastContainer } from "react-toastify"
import "react-toastify/dist/ReactToastify.css"
2023-04-09 23:28:52 +05:30
const queryClient = new QueryClient()
2024-02-01 13:40:44 +05:30
import "./css/tailwind.css"
2023-04-09 23:28:52 +05:30
2024-02-01 13:40:44 +05:30
function IndexOption() {
2023-04-09 23:28:52 +05:30
return (
<MemoryRouter>
<QueryClientProvider client={queryClient}>
2024-02-01 13:40:44 +05:30
<SidepanelRouting />
2023-04-11 15:19:21 +05:30
<ToastContainer />
2023-04-09 23:28:52 +05:30
</QueryClientProvider>
</MemoryRouter>
)
}
2024-02-01 13:40:44 +05:30
export default IndexOption