Skip to content

Commit

Permalink
Merge pull request #4 from softstack/improvements
Browse files Browse the repository at this point in the history
refactor: Disconnect user and reset view to CONNECT in App.tsx
  • Loading branch information
daniel-vahn authored May 27, 2024
2 parents 9d910c7 + 43cb636 commit 0f8cf19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ function App() {
window.localStorage.removeItem('walletconnect');
window.localStorage.removeItem('WALLETCONNECT_DEEPLINK_CHOICE');
dispatch(setConnectionState('disconnected'));
setSignedMessage(null);
setView(View.CONNECT);

await axios.post(BRIDGE_URL + '/disconnect', {
Expand Down

0 comments on commit 0f8cf19

Please sign in to comment.