// This file is part of Cloudreve Pro edition source code, Reference ID: 1386
import React from "react";
import ReactDOM from "react-dom/client";
import { Provider } from "react-redux";
import { store } from "./redux/store.ts";
import { router } from "./router";
import { RouterProvider } from "react-router-dom";
import "@fontsource/roboto/300.css";
import "@fontsource/roboto/400.css";
import "@fontsource/roboto/500.css";
import "@fontsource/roboto/700.css";
import { NuqsAdapter } from "nuqs/adapters/react-router/v6";

ReactDOM.createRoot(document.getElementById("root")!).render(
  <Provider store={store}>
    <NuqsAdapter>
      <RouterProvider router={router}></RouterProvider>
    </NuqsAdapter>
  </Provider>,
);
