1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-25 13:59:36 +02:00

update to latest react version and update client dependencies (#23)

This commit is contained in:
François Darveau 2023-08-03 23:24:56 -04:00 committed by GitHub
parent edc3e6c330
commit 9e19af7d4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 650 additions and 459 deletions

View file

@ -1,17 +1,17 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import React from 'react';
import { createRoot } from 'react-dom/client';
import { Provider } from 'react-redux';
import { store } from './store/store';
import { App } from './App';
import { store } from './store/store';
ReactDOM.render(
const container = document.getElementById('root');
const root = createRoot(container!); // createRoot(container!) if you use TypeScript
root.render(
<React.StrictMode>
<Provider store={store}>
<App />
</Provider>
</React.StrictMode>,
document.getElementById('root')
);
</React.StrictMode>);