Skip to content

Commit

Permalink
fix: Don't require react-dom as a peer dependency (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Jun 16, 2021
1 parent 8c763b4 commit 39edfcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/next-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@
},
"peerDependencies": {
"next": "^10.0.0 || ^11.0.0",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
"react": "^16.8.0 || ^17.0.0"
},
"devDependencies": {
"@testing-library/react": "^11.1.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/use-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"intl-messageformat": "^9.3.18"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
"react": "^16.8.0 || ^17.0.0"
},
"devDependencies": {
"@testing-library/react": "^11.1.2",
Expand Down

0 comments on commit 39edfcd

Please sign in to comment.