fix(ui): 🐛📦 rollback pkg upgrades to pre-react@18.x to try fix #2910

This commit is contained in:
Collin M. Barrett 2022-04-21 09:15:47 -05:00
parent 9ff43fb789
commit 719ec80aba
3 changed files with 17 additions and 19 deletions

BIN
web/package-lock.json generated

Binary file not shown.

View file

@ -3,28 +3,28 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^14.1.1",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.25",
"@types/node": "^17.0.23",
"@types/react": "^17.0.43",
"@types/react-dom": "^18.0.1",
"@types/react-dom": "^17.0.14",
"@types/react-router-dom": "^5.3.3",
"antd": "^4.19.5",
"babel-plugin-import": "^1.13.5",
"antd": "^4.19.4",
"babel-plugin-import": "^1.13.3",
"customize-cra": "^1.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"http-proxy-middleware": "^2.0.6",
"http-proxy-middleware": "^2.0.4",
"less": "^4.1.2",
"less-loader": "^7.3.0",
"prettier": "^2.6.2",
"react": "^18.0.0",
"prettier": "^2.6.1",
"react": "^17.0.2",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.0.0",
"react-dom": "^17.0.2",
"react-router-dom": "^5.3.0",
"react-scripts": "^5.0.1",
"react-scripts": "^5.0.0",
"slugify": "^1.6.5",
"typescript": "^4.6.3",
"web-vitals": "^2.1.4"

View file

@ -1,16 +1,14 @@
import React from "react";
import ReactDOM from "react-dom/client";
import "./index.css";
import ReactDOM from "react-dom";
import { App } from "./App";
import "./index.css";
import reportWebVitals from "./reportWebVitals";
const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement
);
root.render(
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>
</React.StrictMode>,
document.getElementById("root")
);
// If you want to start measuring performance in your app, pass a function