From 43cb63681dc1925c0309d8e8d032a1eacefbc752 Mon Sep 17 00:00:00 2001 From: daniel-vahn Date: Fri, 24 May 2024 08:56:51 +0200 Subject: [PATCH] refactor: Disconnect user and reset view to CONNECT in App.tsx --- src/App.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.tsx b/src/App.tsx index c845d09..d96c724 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -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', {