Skip to content

Commit

Permalink
Update package.json for react 18
Browse files Browse the repository at this point in the history
Causing a lot of problems when using this package with typescript & react 18
  • Loading branch information
apetta authored Jun 6, 2022
1 parent 6048aec commit 8dcb534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"homepage": "https://github.com/nmn/react-timeago",
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0"
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "^7.13.16",
Expand Down

0 comments on commit 8dcb534

Please sign in to comment.