Skip to content

Commit

Permalink
Adds small avatar to navbar left of address when connected
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopfed committed Oct 5, 2023
1 parent 00bae6c commit fea0a43
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions components/TopNavButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
DISCOVER
</v-btn>
</v-col>
<v-col v-if="auth.address" cols="1" class="mt-2">
<Avatar :address="auth.address" :small="true" />
</v-col>
<v-col>
<ConnectButton />
</v-col>
Expand All @@ -21,3 +24,9 @@
flex-direction: row;
}
</style>

<script setup lang="ts">
import { useAuthStore } from '~/stores/auth'
const auth = useAuthStore()
</script>

0 comments on commit fea0a43

Please sign in to comment.