Skip to content

Commit

Permalink
fix: update wallets list on disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
LukassF committed Feb 27, 2024
1 parent 3bb97c4 commit 44295fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/apps/modal-example/src/routes/externalModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default function SolanaExternalModal() {
})

adapter.on('disconnect', () => {
modal.walletsList = adapter.walletsList
setPublicKey(undefined)
})

Expand Down

0 comments on commit 44295fb

Please sign in to comment.