Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dzbo committed Oct 26, 2024
1 parent e615f50 commit 7c71cae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions composables/web3-provider/useBaseProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const disconnect = () => {
const { removeItem } = useLocalStorage()
const { connectedProfileAddress, isWalletConnect, walletConnectProvider } =
storeToRefs(useAppStore())
const { tempGrid } = storeToRefs(useGridStore())
const { isEditingGrid } = storeToRefs(useGridStore())

// disconnect WalletConnect
if (isWalletConnect.value) {
Expand All @@ -29,8 +29,8 @@ const disconnect = () => {
connectedProfileAddress.value = undefined
// remove connection expiry
removeItem(STORAGE_KEY.CONNECTION_EXPIRY)
// clear temp grid for the profile
tempGrid.value = []
// exit edit mode for grid
isEditingGrid.value = false
}

/**
Expand Down

0 comments on commit 7c71cae

Please sign in to comment.