mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: link node
This commit is contained in:
@@ -48,12 +48,12 @@ const Link: React.FC<Props> = ({ text, url }: Props) => {
|
|||||||
arrow
|
arrow
|
||||||
>
|
>
|
||||||
<MLink underline="always" href={url}>
|
<MLink underline="always" href={url}>
|
||||||
{url || text}
|
{text || url}
|
||||||
</MLink>
|
</MLink>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
) : (
|
) : (
|
||||||
<MLink underline="always" href={url}>
|
<MLink underline="always" href={url}>
|
||||||
{url || text}
|
{text || url}
|
||||||
</MLink>
|
</MLink>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user