Skip to content

Commit 9e2b5db

Browse files
authoredApr 11, 2022
fix: Only supports React < 18 (#1041)
1 parent 0c4aabe commit 9e2b5db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"dependencies": {
4848
"@babel/runtime": "^7.12.5",
4949
"@testing-library/dom": "^8.0.0",
50-
"@types/react-dom": "*"
50+
"@types/react-dom": "<18.0.0"
5151
},
5252
"devDependencies": {
5353
"@testing-library/jest-dom": "^5.11.6",
@@ -60,8 +60,8 @@
6060
"typescript": "^4.1.2"
6161
},
6262
"peerDependencies": {
63-
"react": "*",
64-
"react-dom": "*"
63+
"react": "<18.0.0",
64+
"react-dom": "<18.0.0"
6565
},
6666
"eslintConfig": {
6767
"extends": "./node_modules/kcd-scripts/eslint.js",

0 commit comments

Comments
 (0)
Please sign in to comment.