Skip to content

Commit

Permalink
Fix janky loader on episodes page (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan authored Aug 1, 2024
1 parent 99b6726 commit ceec889
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/collection/series/SeriesEpisodes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ const SeriesEpisodes = () => {
);
const {
data,
dataUpdatedAt,
fetchNextPage,
isFetchingNextPage,
isSuccess,
Expand Down Expand Up @@ -213,7 +212,7 @@ const SeriesEpisodes = () => {

return (
<div
key={`${dataUpdatedAt}-${virtualItem.key}`}
key={episode ? episode.IDs.ID : `loading-${virtualItem.key}`}
className="flex flex-col rounded-lg border border-panel-border bg-panel-background-transparent"
data-index={virtualItem.index}
>
Expand Down

0 comments on commit ceec889

Please sign in to comment.