Skip to content

Commit

Permalink
Merge pull request #62 from XDeFi-tech/feat/walletconnect-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Amurmurmur authored Jul 25, 2023
2 parents c296393 + e727e87 commit f1b2885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xdefi/wallets-connector",
"version": "1.6.2",
"version": "1.6.3",
"description": "Cross chain wallets connector with react hooks",
"author": "garageinc",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/providers/connectors/walletconnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ConnectToWalletConnect = async (
provider.events
)

if (!provider.connected) {
if (!provider.session) {
await provider.connect()
}

Expand Down

0 comments on commit f1b2885

Please sign in to comment.