Skip to content

Commit ca1d350

Browse files
committed
build: bump dependencies
1 parent 2acc91e commit ca1d350

File tree

4 files changed

+5963
-4129
lines changed

4 files changed

+5963
-4129
lines changed

client/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
2-
import ReactDOM from 'react-dom';
32
import App from './components/App.js';
3+
import { createRoot } from 'react-dom/client';
44

5-
ReactDOM.render(<App />, document.getElementById('root'));
5+
const root = createRoot(document.getElementById('root'));
6+
root.render(<App />);

0 commit comments

Comments
 (0)