Skip to content

Commit

Permalink
fix(ProfileDropdown.vue): after wallet disconnect vm tabs are shown
Browse files Browse the repository at this point in the history
  • Loading branch information
hassnian committed Aug 9, 2024
1 parent c1fc3bf commit 23a4ab5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/navbar/ProfileDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ import {
langsFlags as langsFlagsList,
setUserLocale,
} from '@/utils/config/i18n'
import { ConnectWalletModalConfig } from '@/components/common/ConnectWallet/useConnectWallet'
import { openConnectWalletModal } from '@/components/common/ConnectWallet/useConnectWallet'
import ConnectWalletButton from '@/components/shared/ConnectWalletButton.vue'
import { useProfileOnboardingStore } from '@/stores/profileOnboarding'
Expand All @@ -105,7 +105,6 @@ const { isDarkMode } = useTheme()
const { neoModal } = useProgrammatic()
const languageDropdown = ref(null)
const modal = ref<{ close: () => void, isActive?: boolean } | null>(null)
const account = computed(() => identityStore.getAuthAddress)
const profileIcon = computed(() =>
Expand All @@ -118,9 +117,7 @@ const toggleWalletConnectModal = () => {
neoModal.closeAll()
if (!document.querySelector('.connect-wallet-modal')) {
modal.value = neoModal.open({
...ConnectWalletModalConfig,
})
openConnectWalletModal()
}
}
Expand Down

0 comments on commit 23a4ab5

Please sign in to comment.