Skip to content

Commit

Permalink
adding new chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Sep 21, 2023
1 parent 9b92cd1 commit 81ff12b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/docs/videos.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function Video(props) {
{subtitle &&
<h3>{subtitle}</h3>
}
<iframe width="560" height="315" src={url} title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="560" height="315" src={url} title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen></iframe>
</>
);
}
Expand All @@ -52,7 +52,7 @@ export function AllVideos(props) {
const prefix = `${String(index + 1).padStart(2, '0')} - `;

return (
<Video type={type} video={video} useTitle={index === 0} subtitlePrefix={prefix} />
<Video key={index} type={type} video={video} useTitle={index === 0} subtitlePrefix={prefix} />
);
})}
</>
Expand Down

0 comments on commit 81ff12b

Please sign in to comment.