Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopfed committed Oct 6, 2023
1 parent d3640b6 commit 2934db4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/ConnectButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<code style="cursor: pointer;" v-bind="props">{{ auth.address }}</code>
</template>
<v-list>
<v-list-item @click="myProfile()">
<v-list-item @click="myProfile">
<v-list-item-title>My Profile</v-list-item-title>
</v-list-item>
<v-list-item @click="onDisconnectClicked">
Expand All @@ -30,9 +30,9 @@ const router = useRouter()
const onConnectClicked = debounce(async () => await auth.connect())
const onDisconnectClicked = debounce(async () => await auth.disconnect())
const myProfile = async () => {
const myProfile = debounce(async () => {
return router.push({ path: `${ auth.address }` })
}
})
// const truncatedAddress = computed(
// () => auth.address?.slice(0, 6)
// + '...'
Expand Down

0 comments on commit 2934db4

Please sign in to comment.