Unverified Commit 27b95ffb authored by tom's avatar tom Committed by GitHub

chore: open dev overlay error links in new tab (#45018)

parent 4dfe831b
......@@ -57,7 +57,9 @@ const HotlinkedText: React.FC<{
if (linkRegex.test(word)) {
return (
<React.Fragment key={`link-${index}`}>
<a href={word}>{word}</a>
<a href={word} target="_blank" rel="noreferrer noopener">
{word}
</a>
{index === array.length - 1 ? '' : ' '}
</React.Fragment>
)
......
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