text: import React, { Fragment } from "react";
  import { BrowserRouter } from "react-router-dom";
  import { hot } from "react-hot-loader";
  import Routes from "./routes/Routes";
  import ModalWrapper from "@/components/common/wrappers/ModalWrapper";
  import DocumentViewer from "@/components/syncfusion/DocumentViewer";
  import ScrollToTopWrapper from "@/components/common/wrappers/ScrollToTopWrapper";
  import configureStore from "./store/configureStore";
  import { MatomoLinkTracing } from "../common/utils/trackers";
  
  export const store = configureStore();
  
  const App = () => (
    <BrowserRouter basename={process.env.BASE_PATH}>
      <ScrollToTopWrapper>
        <MatomoLinkTracing />
        <Fragment>
          <Routes />
          <ModalWrapper />
          <DocumentViewer />
        </Fragment>
      </ScrollToTopWrapper>
    </BrowserRouter>
  );
  
  export default hot(module)(App);
  