Skip to content

Commit

Permalink
fix list key
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Aug 30, 2022
1 parent 226c100 commit d08834d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/slick-slider/SlickSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ export default function SlickSlider({ videos, genre }: SlickSliderProps) {
padding={ARROW_MAX_WIDTH}
theme={theme}
>
{videos.map((item, idx) => (
<SlideItem key={idx} item={item} />
{videos.map((item) => (
<SlideItem key={item.id} item={item} />
))}
</StyledSlider>
</CustomNavigation>
Expand Down

0 comments on commit d08834d

Please sign in to comment.