chore: remove unused codes

This commit is contained in:
Tristan Yang
2022-12-09 22:05:57 +08:00
parent 73df08fcc7
commit dac1665994
4 changed files with 68 additions and 88 deletions
@@ -16,8 +16,6 @@ interface Props {
const UserContextMenu: FC<Props> = ({ enable = false, uid, cid, visible, hide, children }) => {
const { t } = useTranslation("member");
const {
canCall,
call,
copyEmail,
canCopyEmail,
startChat,
@@ -48,10 +46,6 @@ const UserContextMenu: FC<Props> = ({ enable = false, uid, cid, visible, hide, c
title: t("send_msg"),
handler: startChat
},
canCall && {
title: t("call"),
handler: call
},
canCopyEmail && {
title: t("copy_email"),
handler: copyEmail