Commit 505fee1a authored by johnnyjoy's avatar johnnyjoy

chore: add noreferrer to external links

parent 3a3ffe63
......@@ -65,7 +65,7 @@ const Link: React.FC<Props> = ({ text, url }: Props) => {
open={showTooltip}
arrow
>
<MLink underline="always" target="_blank" href={url}>
<MLink underline="always" target="_blank" href={url} rel="noopener noreferrer">
<span onMouseEnter={handleMouseEnter} onMouseLeave={() => setShowTooltip(false)}>
{text || url}
</span>
......
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