chore: update memo detail access handler

This commit is contained in:
Steven
2022-09-21 19:31:02 +08:00
parent 2acd5d4af2
commit 63468dbaf3
5 changed files with 49 additions and 38 deletions

View File

@ -115,11 +115,6 @@ const MemoCardDialog: React.FC<Props> = (props: Props) => {
}, []);
const handleGotoMemoLinkBtnClick = () => {
if (memo.visibility === "PRIVATE") {
toastHelper.error(t("message.private-only"));
return;
}
window.open(`/m/${memo.id}`);
};