Skip to content

Commit

Permalink
Add React as a dependency in wallet-adapter-react package (#46)
Browse files Browse the repository at this point in the history
* Add React as a dependency in wallet-adapter-react package

* add changeset
  • Loading branch information
0xmaayan authored Jan 10, 2023
1 parent ac924a6 commit 552d255
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/pink-games-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aptos-labs/wallet-adapter-react": patch
---

Add react package as a dependency
6 changes: 2 additions & 4 deletions packages/wallet-adapter-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"lint": "TIMING=1 eslint \"src/**/*.ts*\""
},
"peerDependencies": {
"react": "*"
},
"devDependencies": {
"@aptos-labs/wallet-adapter-tsconfig": "workspace:*",
"@types/react": "^18.0.17",
Expand All @@ -47,6 +44,7 @@
},
"dependencies": {
"@aptos-labs/wallet-adapter-core": "*",
"aptos": "^1.3.17"
"aptos": "^1.3.17",
"react": "^18"
}
}
1 change: 0 additions & 1 deletion packages/wallet-adapter-react/src/WalletProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as React from "react";
import {
FC,
ReactNode,
Expand Down
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 552d255

Please sign in to comment.