mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-29 03:05:13 +00:00
4fc6b1a193
* use carbon components when adding secrets * docker compose pull before running up w/ burnettk * use all carbon on script task unit test modal w/ burnettk * removed remaining references to bootstrap from frontend w/ burnettk * updated usage of hidden to use the class instead of the bootstrap attribute w/ burnettk * print out docker version for debugging * docker pull with docker instead of compose * added comment for docker pull in check docker start script --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com>
30 lines
917 B
TypeScript
30 lines
917 B
TypeScript
import React from 'react';
|
|
import * as ReactDOMClient from 'react-dom/client';
|
|
import App from './App';
|
|
|
|
import './index.scss';
|
|
import './index.css';
|
|
|
|
import reportWebVitals from './reportWebVitals';
|
|
import UserService from './services/UserService';
|
|
|
|
// @ts-expect-error TS(2345) FIXME: Argument of type 'HTMLElement | null' is not assig... Remove this comment to see the full error message
|
|
const root = ReactDOMClient.createRoot(document.getElementById('root'));
|
|
|
|
const doRender = () => {
|
|
root.render(
|
|
<React.StrictMode>
|
|
<App />
|
|
</React.StrictMode>
|
|
);
|
|
};
|
|
|
|
UserService.loginIfNeeded();
|
|
doRender();
|
|
|
|
// If you want to start measuring performance in your app, pass a function
|
|
// to log results (for example: reportWebVitals(console.log))
|
|
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
// @ts-expect-error TS(2554) FIXME: Expected 1 arguments, but got 0.
|
|
reportWebVitals();
|