16 lines
405 B
TypeScript
16 lines
405 B
TypeScript
import { StrictMode } from 'react';
|
|
import { createRoot } from 'react-dom/client';
|
|
import App from './App.tsx';
|
|
import './index.css';
|
|
import { loadRuntimeConfig } from './config';
|
|
|
|
// Load runtime environment configuration before mounting the application
|
|
loadRuntimeConfig().finally(() => {
|
|
createRoot(document.getElementById('root')!).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>
|
|
);
|
|
});
|
|
|