chore: fix memo link
This commit is contained in:
parent
7d94256a2a
commit
192ee7acc0
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue