19 lines
454 B
JavaScript
19 lines
454 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom/client';
|
|
import './index.css';
|
|
import App from './App';
|
|
|
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
root.render(
|
|
<React.StrictMode>
|
|
<App />
|
|
</React.StrictMode>
|
|
);
|
|
|
|
// Hide loading indicator
|
|
const loadingIndicator = document.getElementById('loading-indicator');
|
|
if (loadingIndicator) {
|
|
setTimeout(() => {
|
|
loadingIndicator.style.display = 'none';
|
|
}, 500);
|
|
} |