import type { HTMLAttributes } from 'vue'
import { Avatar, AvatarFallback, AvatarImage } from '@repo/shadcn-vue/components/ui/avatar'
-import { computed, useAttrs } from 'vue'
+import { computed } from 'vue'
interface Props {
src: string
@@ -10,13 +10,12 @@ interface Props {
}
const props = defineProps
()
-const attrs = useAttrs()
const fallbackText = computed(() => props.name?.slice(0, 2) ?? 'ME')
-
+
{{ fallbackText }}