Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Update src/components/MainView/DataViewOld/Table.js
Browse files Browse the repository at this point in the history
Co-authored-by: bmartel <[email protected]>
  • Loading branch information
yyassi-heartex and bmartel authored Oct 5, 2023
1 parent fddc013 commit 398fcf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MainView/DataViewOld/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 398fcf0

Please sign in to comment.