From ac5300a664cf67cbba86dde34af7e57dbf39f6b1 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Tue, 11 Mar 2025 15:56:38 -0600 Subject: [PATCH] update to the bins page for the new scroll --- src/pages/Bins.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/Bins.tsx b/src/pages/Bins.tsx index 79f95e5..8de0b7a 100644 --- a/src/pages/Bins.tsx +++ b/src/pages/Bins.tsx @@ -643,11 +643,11 @@ export default function Bins(props: Props) { bins={fertilizerBins} duplicateBin={duplicateBin} title={"Fertilizer Bins"} - startingTranslate={scrollTranslations.fertilizer} - loadMore={newTranslation => { + //startingTranslate={scrollTranslations.fertilizer} + loadMore={() => { if (paginatedBins.bins.length < paginatedBins.binsTotal) { loadMoreBins(contentFilter, paginatedBins.binsOffset); - setScrollTranslations({ ...scrollTranslations, fertilizer: newTranslation }); + //setScrollTranslations({ ...scrollTranslations, fertilizer: newTranslation }); } }} /> @@ -666,11 +666,11 @@ export default function Bins(props: Props) { bins={emptyBins} duplicateBin={duplicateBin} title={"Empty Bins"} - startingTranslate={scrollTranslations.empty} - loadMore={newTranslation => { + //startingTranslate={scrollTranslations.empty} + loadMore={() => { if (paginatedBins.bins.length < paginatedBins.binsTotal) { loadMoreBins(contentFilter, paginatedBins.binsOffset); - setScrollTranslations({ ...scrollTranslations, empty: newTranslation }); + //setScrollTranslations({ ...scrollTranslations, empty: newTranslation }); } }} />