gonito-frontend/src/index.js

18 lines
474 B
JavaScript
Raw Normal View History

2022-07-01 14:29:38 +02:00
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
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();