2022-07-01 14:29:38 +02:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom/client';
|
|
|
|
import './index.css';
|
2022-07-01 14:59:11 +02:00
|
|
|
import './normalize.css';
|
2022-07-01 14:29:38 +02:00
|
|
|
import App from './App';
|
2022-09-23 14:46:21 +02:00
|
|
|
import KeyCloakService from './services/KeyCloakService';
|
|
|
|
import HttpService from './services/HttpService';
|
2022-07-01 14:29:38 +02:00
|
|
|
|
|
|
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|
2022-08-29 15:16:18 +02:00
|
|
|
|
|
|
|
const renderApp = () => root.render(
|
|
|
|
<React.StrictMode>
|
|
|
|
<App/>
|
|
|
|
</React.StrictMode>
|
2022-07-01 14:29:38 +02:00
|
|
|
);
|
2022-08-29 15:16:18 +02:00
|
|
|
|
2022-09-23 14:46:21 +02:00
|
|
|
KeyCloakService.initKeycloak(renderApp);
|
|
|
|
HttpService.configure();
|
2022-09-22 13:35:09 +02:00
|
|
|
|
|
|
|
renderApp();
|