import { createRoot } from 'react-dom/client';
import { App } from './App.tsx';
import { ToastContainer } from 'react-toastify';
import './index.css';
import { I18NextProvider, initI18n } from '@kevisual/components/translate/index.tsx';
import { basename } from './modules/basename';

createRoot(document.getElementById('root')!).render(
  <>
    <I18NextProvider basename={basename} noUse={false}>
      <App />
    </I18NextProvider>
    <ToastContainer />
  </>,
);
