Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: link node

Stevend460e6bf4188
diff --git a/web/src/components/MemoContent/Link.tsx b/web/src/components/MemoContent/Link.tsx
index b5b0be6e5..a373df7d0 100644
--- a/web/src/components/MemoContent/Link.tsx
+++ b/web/src/components/MemoContent/Link.tsx
@@ -48,12 +48,12 @@ const Link: React.FC<Props> = ({ text, url }: Props) => {
arrow
>
<MLink underline="always" href={url}>
- {url || text}
+ {text || url}
</MLink>
</Tooltip>
) : (
<MLink underline="always" href={url}>
- {url || text}
+ {text || url}
</MLink>
);
};