diff --git a/src/components/profile/profile-more.tsx b/src/components/profile/profile-more.tsx index 597750e..1acb36e 100644 --- a/src/components/profile/profile-more.tsx +++ b/src/components/profile/profile-more.tsx @@ -46,7 +46,7 @@ const ProfileMore = (props: Props) => { } = props; const { uid, type } = itemData; - const { t } = useTranslation(); + const { t, i18n } = useTranslation(); const [anchorEl, setAnchorEl] = useState(null); const [position, setPosition] = useState({ left: 0, top: 0 }); const [editOpen, setEditOpen] = useState(false); @@ -110,6 +110,7 @@ const ProfileMore = (props: Props) => { <> onSelect(false)} onContextMenu={(event) => { const { clientX, clientY } = event; @@ -172,13 +173,14 @@ const ProfileMore = (props: Props) => { {itemData.desc} )}