File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 33 "version" : " 0.1.0" ,
44 "private" : true ,
55 "dependencies" : {
6- "@testing-library/jest-dom" : " ^5.16.2 " ,
7- "@testing-library/react" : " ^12.1.3 " ,
6+ "@testing-library/jest-dom" : " ^5.16.4 " ,
7+ "@testing-library/react" : " ^13.0.1 " ,
88 "@testing-library/user-event" : " ^13.5.0" ,
9- "@uiw/react-github-corners" : " ~1.5.3 " ,
10- "react" : " ^17 .0.2 " ,
11- "react-dom" : " ^17 .0.2 " ,
12- "react-scripts" : " 5.0.0 " ,
9+ "@uiw/react-github-corners" : " ~1.5.14 " ,
10+ "react" : " ^18 .0.0 " ,
11+ "react-dom" : " ^18 .0.0 " ,
12+ "react-scripts" : " 5.0.1 " ,
1313 "web-vitals" : " ^2.1.4" ,
14- "uiw" : " ^4.13.7 "
14+ "uiw" : " ^4.21.0 "
1515 },
1616 "homepage" : " https://uiwjs.github.io/uiw-example-create-react-app/" ,
1717 "repository" : {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import ReactDOM from 'react-dom' ;
2+ import ReactDOM from 'react-dom/client ' ;
33import './index.css' ;
44import App from './App' ;
55import reportWebVitals from './reportWebVitals' ;
66
7- ReactDOM . render (
7+ const root = ReactDOM . createRoot ( document . getElementById ( 'root' ) ) ;
8+ root . render (
89 < React . StrictMode >
910 < App />
10- </ React . StrictMode > ,
11- document . getElementById ( 'root' )
11+ </ React . StrictMode >
1212) ;
1313
1414// If you want to start measuring performance in your app, pass a function
You can’t perform that action at this time.
0 commit comments