Skip to content

Commit

Permalink
Merge branch 'emsesp:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
tp1de committed May 25, 2022
2 parents c1598f3 + 60714b0 commit c2767a8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions interface/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion interface/package.json
Expand Up @@ -30,7 +30,7 @@
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"sockette": "^2.0.6",
"typescript": "^4.6.4"
"typescript": "^4.7.2"
},
"scripts": {
"start": "react-app-rewired start",
Expand Down
14 changes: 7 additions & 7 deletions interface/src/index.tsx
@@ -1,15 +1,15 @@
import React from 'react';
import ReactDOM from 'react-dom';

import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';

import App from './App';

ReactDOM.render(
<React.StrictMode>
const root = createRoot(document.getElementById('root') as HTMLElement);

root.render(
<StrictMode>
<BrowserRouter>
<App />
</BrowserRouter>
</React.StrictMode>,
document.getElementById('root')
</StrictMode>
);

0 comments on commit c2767a8

Please sign in to comment.