Skip to content

Commit

Permalink
fix(home): endless spinner in bottom row
Browse files Browse the repository at this point in the history
  • Loading branch information
RCVZ authored and ChristiaanScheermeijer committed Jun 1, 2023
1 parent b62300f commit 2517b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/ShelfList/ShelfList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const ShelfList = ({ rows }: Props) => {

useEffect(() => {
// reset row count when the page changes
setRowCount(INITIAL_ROW_COUNT);
return () => setRowCount(INITIAL_ROW_COUNT);
}, [rows]);

return (
Expand Down

0 comments on commit 2517b9a

Please sign in to comment.