mirror of
https://github.com/PhaseII-eAmusement-Network/PhaseWeb3-Vue.git
synced 2026-07-24 03:41:33 -05:00
17 lines
355 B
Vue
17 lines
355 B
Vue
<script setup>
|
|
import { useMainStore } from "@/stores/main";
|
|
import UserAvatar from "@/components/UserAvatar.vue";
|
|
|
|
const mainStore = useMainStore();
|
|
</script>
|
|
|
|
<template>
|
|
<UserAvatar
|
|
:username="mainStore.userName"
|
|
:avatar="mainStore.userAvatar"
|
|
:border="mainStore.userCustomize?.border ?? null"
|
|
>
|
|
<slot />
|
|
</UserAvatar>
|
|
</template>
|