Skip to content

Commit

Permalink
fix(react): add React to peer dependencies (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
tien authored Jul 23, 2024
1 parent 71a808f commit ea12e2a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/twenty-geese-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@reactive-dot/react": patch
---

Add React to peer dependencies.
3 changes: 3 additions & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@
"polkadot-api": "^0.11.2",
"react": "^18.3.1",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "18.x"
}
}
2 changes: 2 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4172,6 +4172,8 @@ __metadata:
polkadot-api: "npm:^0.11.2"
react: "npm:^18.3.1"
typescript: "npm:^5.5.4"
peerDependencies:
react: 18.x
languageName: unknown
linkType: soft

Expand Down

0 comments on commit ea12e2a

Please sign in to comment.