diff --git a/src/components/avatar/index.tsx b/src/components/avatar/index.tsx new file mode 100644 index 0000000..6d85862 --- /dev/null +++ b/src/components/avatar/index.tsx @@ -0,0 +1,50 @@ +import Icon from '@/components/icon' +import { useTranslation } from '@/i18n.ts' +import { currentUserAtom } from '@/store/user.ts' +import { Avatar as AntAvatar, Dropdown, Spin } from 'antd' +import { useAtomValue } from 'jotai' + +const Avatar = () => { + + const { t } = useTranslation() + const { data, isLoading } = useAtomValue(currentUserAtom) + + return ( +