react version update

This commit is contained in:
lisaavikarii committed 2022-06-28 20:20:37 +02:00
1 parent 0aed9cbe72
commit 47196d3047
9 files changed
+126 -364

No files matched your search

+6 -6
View File
@@ -27,10 +27,10 @@
"version": "0.3.8",
"license": "MIT",
"devDependencies": {
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.1.8",
"@types/jest": "^26.0.23",
"@types/jest": "^27.5.1",
"@types/node": "^15.0.1",
"@types/react": "^18.0.5",
"@types/react-dom": "^18.0.1",
@@ -379,10 +379,10 @@
"gantt-task-react": {
"version": "file:..",
"requires": {
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.1.8",
"@types/jest": "^26.0.23",
"@types/jest": "^27.5.1",
"@types/node": "^15.0.1",
"@types/react": "^18.0.5",
"@types/react-dom": "^18.0.1",
+3 -3
View File
@@ -1,9 +1,9 @@
import React from "react";
import ReactDOM from "react-dom";
import { createRoot } from "react-dom/client";
import App from "./App";
it("renders without crashing", () => {
const div = document.createElement("div");
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
const root = createRoot(div);
root.render(<App />);
});