aboutsummaryrefslogtreecommitdiff
path: root/src/main.tsx
blob: 27887aa0b11da624f2af60a65c746ff8a2cf5701 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import { RouterProvider } from 'react-router-dom';
import { routes } from './routes.tsx';

ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <div className="mainWrap">
      <div className="main">
        <RouterProvider router={routes} />
      </div>
    </div>
  </React.StrictMode>,
)