We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0413c21 commit 0155b7aCopy full SHA for 0155b7a
src/components/Book/Book.tsx
@@ -29,7 +29,7 @@ const Book = ({
29
/>
30
</BookLink>
31
<div>
32
- <a href="/#" target="_blank" className="book-link" data-testid="title-book">
+ <a href="/#" target="_blank" rel="noreferrer" className="book-link" data-testid="title-book">
33
{book.title}
34
</a>
35
<p className="book-authors">by {book.author}</p>
src/components/Book/BookLink.tsx
@@ -5,7 +5,7 @@ const BookLink = (props: any) => {
5
return (
6
<>
7
{props.bookLink.length !== 0 ? (
8
- <a href={props.bookLink[0].url} target="_blank" className="book-link">
+ <a href={props.bookLink[0].url} target="_blank" rel="noreferrer" className="book-link">
9
{props.children}
10
11
) : (
0 commit comments