Commit 49b418e 1 parent 068523f commit 49b418e Copy full SHA for 49b418e
File tree 3 files changed +12622
-12221
lines changed
3 files changed +12622
-12221
lines changed Original file line number Diff line number Diff line change 21
21
"lodash" : " ^4.17.21" ,
22
22
"popper.js" : " ^1.16.1" ,
23
23
"prop-types" : " 15.8.1" ,
24
- "react" : " 17.0 .1" ,
24
+ "react" : " 18.3 .1" ,
25
25
"react-bootstrap-typeahead" : " 6.3.2" ,
26
26
"react-chartjs-2" : " ^2.8.0" ,
27
- "react-dom" : " 17.0 .1" ,
27
+ "react-dom" : " 18.3 .1" ,
28
28
"react-google-recaptcha" : " ^3.1.0" ,
29
29
"react-helmet" : " ^6.1.0" ,
30
30
"react-redux" : " 8.0.5" ,
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import { render } from 'react-dom' ;
2
+ import { createRoot } from 'react-dom' ;
3
3
import { install } from 'ga-gtag' ;
4
4
import trackingId from './GoogleAnalytics/googleAnalytics' ;
5
5
import App from './App/App' ;
@@ -8,7 +8,9 @@ import './sass/main.scss';
8
8
9
9
install ( trackingId ( ) ) ;
10
10
11
- render ( < App /> , document . getElementById ( 'root' ) ) ;
11
+ const container = document . getElementById ( 'root' ) ;
12
+ const root = createRoot ( container ) ;
13
+ root . render ( < App /> ) ;
12
14
13
15
// If you want your app to work offline and load faster, you can change
14
16
// unregister() to register() below. Note this comes with some pitfalls.
You can’t perform that action at this time.
0 commit comments