2024-06-07 20:17:03 +03:00
|
|
|
import { createRoot } from 'react-dom/client';
|
|
|
|
|
2025-03-12 11:54:32 +03:00
|
|
|
import { GlobalProviders } from './app/global-providers';
|
2025-02-19 23:29:45 +03:00
|
|
|
import { App } from './app';
|
2025-02-12 21:36:03 +03:00
|
|
|
|
|
|
|
import './index.css';
|
2024-06-07 20:17:03 +03:00
|
|
|
|
2025-02-22 14:27:10 +03:00
|
|
|
if (typeof window !== 'undefined' && !!process.env.NODE_ENV && process.env.NODE_ENV === 'development') {
|
|
|
|
void import('react-scan').then(module =>
|
|
|
|
module.scan({
|
|
|
|
enabled: true
|
|
|
|
})
|
|
|
|
);
|
2025-02-20 14:59:37 +03:00
|
|
|
}
|
|
|
|
|
2024-06-07 20:17:03 +03:00
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
|
|
<GlobalProviders>
|
|
|
|
<App />
|
|
|
|
</GlobalProviders>
|
|
|
|
);
|