Skip to content

Commit

Permalink
fix: make thumbnail placeholder key unique (fix #201)
Browse files Browse the repository at this point in the history
  • Loading branch information
igordanchenko committed Nov 7, 2023
1 parent 994c026 commit ea692bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/thumbnails/ThumbnailsTrack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export function ThumbnailsTrack({ visible, containerRef }: ThumbnailsTrackProps)

return (
<Thumbnail
key={slideIndex}
key={[`${slideIndex}`, placeholder && "placeholder"].filter(Boolean).join("-")}
slide={slide}
active={slideIndex === index}
fadeIn={fadeIn}
Expand Down

0 comments on commit ea692bf

Please sign in to comment.