From 398fcf0c492a45551b45626d456170707696240c Mon Sep 17 00:00:00 2001 From: yyassi-heartex <104568407+yyassi-heartex@users.noreply.github.com> Date: Thu, 5 Oct 2023 09:46:16 -0400 Subject: [PATCH] Update src/components/MainView/DataViewOld/Table.js Co-authored-by: bmartel --- src/components/MainView/DataViewOld/Table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MainView/DataViewOld/Table.js b/src/components/MainView/DataViewOld/Table.js index 6ec1825b..d1b10f77 100644 --- a/src/components/MainView/DataViewOld/Table.js +++ b/src/components/MainView/DataViewOld/Table.js @@ -65,7 +65,7 @@ export const DataView = injector( if (!dataStore.hasNextPage || dataStore.loading) return Promise.resolve(); await dataStore.fetch({ interaction: "scroll" }); - return new Promise(resolve => resolve()); + return Promise.resolve(); }, [dataStore]); const isItemLoaded = useCallback(