Skip to content

Commit

Permalink
Fixed auto mobile web connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Aug 3, 2023
1 parent 4f860c6 commit a040b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stateful/components/WalletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const InnerWalletProvider = ({ children }: PropsWithChildren<{}>) => {
wallet.walletInfo.name === keplrExtensionWallets[0].walletInfo.name
)
if (keplr && keplrWallet && keplr.mode === 'mobile-web') {
await keplrWallet.connect()
await walletRepo.connect(keplrWallet.walletName)
}
} catch (err) {
console.error('Keplr mobile web connection failed', err)
Expand Down

2 comments on commit a040b3e

@vercel
Copy link

@vercel vercel bot commented on a040b3e Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on a040b3e Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.