Skip to content

Commit

Permalink
fix: add key to list item
Browse files Browse the repository at this point in the history
  • Loading branch information
kalecream committed Sep 18, 2023
1 parent 8140670 commit ff9ab68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/books/currentReads.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const CurrentReads = () => {
if (book.status === 'Reading') {
let searchURL = `https://www.you.com/search?q=${book.title}+${book.author}`;
return (
<Link className={styles.books} href={searchURL} target="_blank" rel="noopener noreferrer">
<Link key={book.title} className={styles.books} href={searchURL} target="_blank" rel="noopener noreferrer">
<div className={styles.book}>
<img src={book.cover} alt={book.title} />
</div>
Expand Down

0 comments on commit ff9ab68

Please sign in to comment.