2024-06-07 20:17:03 +03:00
|
|
|
import { createRoot } from 'react-dom/client';
|
2025-02-20 14:59:37 +03:00
|
|
|
import { scan } from 'react-scan';
|
2024-06-07 20:17:03 +03:00
|
|
|
|
2025-02-19 23:29:45 +03:00
|
|
|
import { GlobalProviders } from './app/GlobalProviders';
|
|
|
|
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-20 14:59:37 +03:00
|
|
|
if (typeof window !== 'undefined') {
|
|
|
|
scan({
|
|
|
|
enabled: !!process.env.NODE_ENV && process.env.NODE_ENV === 'development'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2024-06-07 20:17:03 +03:00
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
|
|
<GlobalProviders>
|
|
|
|
<App />
|
|
|
|
</GlobalProviders>
|
|
|
|
);
|