Skip to content

Commit

Permalink
Update Catalog.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
PetroShutak authored Oct 10, 2023
1 parent 9c2c9d6 commit 72ba018
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Catalog/Catalog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Catalog = () => {
}, [dispatch, page]);

useEffect(() => {
if (arrayForRender.length === 36) {
if (arrayForRender.length === 33) {
setIsBtnShown(false)
}
}, [arrayForRender.length]);
Expand Down Expand Up @@ -68,4 +68,4 @@ const Catalog = () => {
)
};

export default Catalog;
export default Catalog;

0 comments on commit 72ba018

Please sign in to comment.