Skip to content

Commit

Permalink
v1.16.0 - Update npm dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianMullins committed Jul 19, 2023
1 parent 9bdfa1b commit e559e3e
Show file tree
Hide file tree
Showing 4 changed files with 5,573 additions and 7,525 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coinsly",
"version": "1.15.0",
"version": "1.16.0",
"description": "",
"main": "src/index.js",
"keywords": [
Expand All @@ -18,23 +18,24 @@
"connected-react-router": "6.9.3",
"firebase": "8.10.1",
"history": "4.10.1",
"immer": "9.0.17",
"logrocket": "1.3.0",
"logrocket-react": "4.0.1",
"immer": "10.0.2",
"logrocket": "4.0.4",
"logrocket-react": "5.0.1",
"qs": "6.11.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-redux": "7.2.9",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-redux": "8.1.1",
"react-router-dom": "5.2.0",
"redux": "4.2.1",
"redux-devtools-extension": "2.13.9",
"redux-thunk": "2.4.2"
},
"devDependencies": {
"@testing-library/react": "11.2.3",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@testing-library/react": "14.0.0",
"coveralls": "3.1.1",
"react-scripts": "4.0.1",
"sass": "1.32.5"
"react-scripts": "5.0.1",
"sass": "1.63.6"
},
"scripts": {
"start": "REACT_APP_RELEASE_VERSION=$npm_package_version react-scripts start",
Expand Down
10 changes: 6 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* global Raven */
import React from 'react';
import { render } from 'react-dom';
import { createRoot } from 'react-dom/client';
import { BrowserRouter as Router } from 'react-router-dom';
import { ConnectedRouter } from 'connected-react-router';
import { Provider } from 'react-redux';
Expand All @@ -19,13 +19,15 @@ if (process.env.NODE_ENV === 'production') {
});
}

render(
const container = document.getElementById('root');
const root = createRoot(container);

root.render(
<Provider store={store}>
<ConnectedRouter history={history}>
<Router>
<AppContainer />
</Router>
</ConnectedRouter>
</Provider>,
document.getElementById('root')
</Provider>
);
Loading

0 comments on commit e559e3e

Please sign in to comment.