chore: Link preview style changes

This commit is contained in:
2023-04-18 12:47:01 +01:00
parent 664d4bf976
commit 3d8269b674
10 changed files with 70 additions and 65 deletions

View File

@ -92,14 +92,7 @@ export default function HyperText({ link, creator }: { link: string; creator: st
return <MagnetLink magnet={parsed} />;
}
} else {
return (
<>
<a href={a} onClick={e => e.stopPropagation()} target="_blank" rel="noreferrer" className="ext">
{a}
</a>
<LinkPreview url={a} />
</>
);
return <LinkPreview url={a} />;
}
} catch {
// Ignore the error.