Commit 192ee7ac authored by Steven's avatar Steven

chore: fix memo link

parent 7d94256a
...@@ -74,7 +74,7 @@ const ShareMemoDialog: React.FC<Props> = (props: Props) => { ...@@ -74,7 +74,7 @@ const ShareMemoDialog: React.FC<Props> = (props: Props) => {
}; };
const handleCopyLinkBtnClick = () => { const handleCopyLinkBtnClick = () => {
copy(`${window.location.origin}/m/${memo.name}`); copy(`${window.location.origin}/m/${memo.uid}`);
if (memo.visibility !== Visibility.PUBLIC) { if (memo.visibility !== Visibility.PUBLIC) {
toast.success(t("message.succeed-copy-link-not-public")); toast.success(t("message.succeed-copy-link-not-public"));
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment