Fix disconnect button behavior

This commit is contained in:
enzoggqs
2022-12-15 00:07:08 -03:00
parent 1af0cf3df7
commit 5cbcda47ec
2 changed files with 5 additions and 16 deletions

View File

@@ -62,12 +62,6 @@ const confirmBuyClick = async ({ selectedDeposit, tokenValue }: any) => {
// Valor = tokenValue
}
};
const disconnectUser = ({}: any) => {
console.log('entrou')
etherStore.setWalletAddress("");
flowStep.value == Step.Search;
};
</script>
<template>
@@ -83,7 +77,6 @@ const disconnectUser = ({}: any) => {
/>
<ValidationComponent v-if="loadingLock" />
</div>
<div @disconnect-user="disconnectUser"></div>
</template>
<style scoped></style>