import { UserIcon } from "@/components/UserIcon"; import { AccountProfile } from "@/pages/parts/auth/AccountCreatePart"; import { useAuthStore } from "@/stores/auth"; export interface AvatarProps { profile: AccountProfile["profile"]; } export function Avatar(props: AvatarProps) { return (
); } export function UserAvatar() { const auth = useAuthStore(); if (!auth.account) return null; return ; }