14 lines
370 B
TypeScript
14 lines
370 B
TypeScript
|
|
import { StrictMode } from 'react';
|
||
|
|
import { createRoot } from 'react-dom/client';
|
||
|
|
import App from './App.tsx';
|
||
|
|
import { Toaster } from 'react-hot-toast';
|
||
|
|
|
||
|
|
createRoot(document.getElementById('root')!).render(
|
||
|
|
<StrictMode>
|
||
|
|
<>
|
||
|
|
<App />
|
||
|
|
<Toaster position="top-right" toastOptions={{ duration: 4000 }} />
|
||
|
|
</>
|
||
|
|
</StrictMode>,
|
||
|
|
);
|