Refactored UI and compose file
This commit is contained in:
@@ -2,9 +2,14 @@ import { StrictMode } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import App from './App.tsx';
|
||||
import './index.css';
|
||||
import { loadRuntimeConfig } from './config';
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
// Load runtime environment configuration before mounting the application
|
||||
loadRuntimeConfig().finally(() => {
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>,
|
||||
);
|
||||
<App />
|
||||
</StrictMode>
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user