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-08-29 15:16:18 +02:00
|
|
|
import UserService from './services/UserService';
|
|
|
|
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
|
|
|
|
|
|
|
UserService.initKeycloak(renderApp);
|
|
|
|
HttpService.configure();
|