mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix i18n vietnamese typos and update MemoCardDialog (#228)
This commit is contained in:
@ -112,12 +112,12 @@ const MemoCardDialog: React.FC<Props> = (props: Props) => {
|
||||
|
||||
const handleCopyMemoLinkBtnClick = () => {
|
||||
if (memo.visibility === "PRIVATE") {
|
||||
toastHelper.error("This memo is private only.");
|
||||
toastHelper.error(t("message.private-only"));
|
||||
return;
|
||||
}
|
||||
|
||||
copy(`${window.location.origin}/explore?memoId=${memo.id}`);
|
||||
toastHelper.success("Copied");
|
||||
toastHelper.success(t("message.copied"));
|
||||
};
|
||||
|
||||
const handleEditMemoBtnClick = () => {
|
||||
|
Reference in New Issue
Block a user