mirror of
https://github.com/usememos/memos.git
synced 2024-11-10 17:02:21 +08:00
fix: link node
This commit is contained in:
parent
e703b4f70d
commit
d460e6bf41
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue