diff --git a/composables/web3-provider/useBaseProvider.ts b/composables/web3-provider/useBaseProvider.ts
index 4878c3f5..e6fba96e 100644
--- a/composables/web3-provider/useBaseProvider.ts
+++ b/composables/web3-provider/useBaseProvider.ts
@@ -17,6 +17,7 @@ const disconnect = () => {
const { removeItem } = useLocalStorage()
const { connectedProfileAddress, isWalletConnect, walletConnectProvider } =
storeToRefs(useAppStore())
+ const { isEditingGrid } = storeToRefs(useGridStore())
// disconnect WalletConnect
if (isWalletConnect.value) {
@@ -24,8 +25,12 @@ const disconnect = () => {
isWalletConnect.value = false
}
+ // reset connected profile address
connectedProfileAddress.value = undefined
+ // remove connection expiry
removeItem(STORAGE_KEY.CONNECTION_EXPIRY)
+ // exit edit mode for grid
+ isEditingGrid.value = false
}
/**
diff --git a/domains/grid/components/AddWidgetSelection.vue b/domains/grid/components/AddWidgetSelection.vue
index b541e2ec..2198cb9a 100644
--- a/domains/grid/components/AddWidgetSelection.vue
+++ b/domains/grid/components/AddWidgetSelection.vue
@@ -41,181 +41,193 @@ const handleSelectWidget = (widgetType: GridWidgetType) => {