main.tsx 446 B

12345678910111213141516171819
  1. import React from 'react';
  2. import ReactDOM from 'react-dom/client';
  3. import { ToastContainer } from 'react-toastify';
  4. import { Playground } from './components/playground';
  5. import './main.scss';
  6. const rootElem = document.getElementById('root');
  7. // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
  8. ReactDOM.createRoot(rootElem!).render(
  9. <React.StrictMode>
  10. <Playground />
  11. <ToastContainer />
  12. </React.StrictMode>,
  13. );