diff --git a/src/app/storefront/StoreFrontNavBar.tsx b/src/app/storefront/StoreFrontNavBar.tsx index 18a1b70..7621b17 100644 --- a/src/app/storefront/StoreFrontNavBar.tsx +++ b/src/app/storefront/StoreFrontNavBar.tsx @@ -110,7 +110,7 @@ export default function StoreFrontNavBar(props: { setInd(newInd); changeDisplay(1, newInd); } - setReachedEnd(newInd + 5 < buttonCategories.length); + setReachedEnd(newInd + 5 <= buttonCategories.length); setReachedStart(true); };