Skip to content

Commit

Permalink
fix: reload on wallet disconnect (#218)
Browse files Browse the repository at this point in the history
* fix: reload on wallet disconnect

* fix: move reload to finally
  • Loading branch information
vacekj authored Dec 16, 2024
1 parent 699f741 commit 82ff5f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shared/model/connection/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ class ConnectionStateStore {
await penumbra.disconnect();
} catch (error) {
console.error(error);
} finally {
window.location.reload();
}
}

Expand Down

0 comments on commit 82ff5f4

Please sign in to comment.