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>,
)
