Add noreferrer to external link

This commit is contained in:
Troels Agergaard
2020-10-23 11:22:53 +02:00
committed by Vishnu Ks
parent a3fa4726d7
commit 6648b56181

View File

@@ -7,7 +7,7 @@ const getTargetURL = (book) => {
export default ({ book }) => {
return (
<OutboundLink href={getTargetURL(book)} target="_blank">
<OutboundLink href={getTargetURL(book)} target="_blank" rel="noreferrer">
<img alt="Amazon link" style={{ marginBottom: "-8px" }} src="https://img.icons8.com/color/48/000000/amazon.png"/>
</OutboundLink>
)