Skip to content

Commit

Permalink
connect perms
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushKun committed May 20, 2024
1 parent 122c94a commit e57b352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next_app/src/pages/import.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function Import() {
await window.arweaveWallet.getActiveAddress()
}
catch (e) {
await window.arweaveWallet.connect()
await window.arweaveWallet.connect(["ACCESS_ADDRESS", "SIGN_TRANSACTION"])
}
const ownerWallet = await window.arweaveWallet.getActiveAddress()
data.ownerWallet = ownerWallet
Expand Down

0 comments on commit e57b352

Please sign in to comment.