Add noreferrer to external link
This commit is contained in:
committed by
Vishnu Ks
parent
a3fa4726d7
commit
6648b56181
@@ -7,7 +7,7 @@ const getTargetURL = (book) => {
|
|||||||
|
|
||||||
export default ({ book }) => {
|
export default ({ book }) => {
|
||||||
return (
|
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"/>
|
<img alt="Amazon link" style={{ marginBottom: "-8px" }} src="https://img.icons8.com/color/48/000000/amazon.png"/>
|
||||||
</OutboundLink>
|
</OutboundLink>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user