Skip to content

Commit

Permalink
Add Key to VideoCardList.js and Add noopener to MissingChannels.js
Browse files Browse the repository at this point in the history
Add Key to VideoCardList.js and Add noopener to MissingChannels.js
  • Loading branch information
hxrsmurf authored Jul 9, 2022
2 parents cfc9fd5 + 37201c6 commit 72d800c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/Components/MissingChannels.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function MissingChannels({ data }) {
{data.map((channel, id) => (
<>
<li key={id}>
<a href={channel.original_url} target="_blank">{channel.channel} - {channel.title}</a>
<a href={channel.original_url} rel='noopener'>{channel.channel} - {channel.title}</a>
</li>
</>
))}
Expand Down
2 changes: 1 addition & 1 deletion frontend/Components/VideoCardList.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function VideoCardList({ data }) {
<>
<Row>
{data.map((result, id) => (
<Col lg='3'>
<Col lg='3' key={id}>
<Card key={id} className='mt-5'>
<Card.Img
variant="top" src={result.thumbnail}
Expand Down

0 comments on commit 72d800c

Please sign in to comment.