From 1a7cd9db636b68e4ecfe6b5dc25b7810e4caf076 Mon Sep 17 00:00:00 2001 From: Mary Salvi Date: Tue, 19 Sep 2023 15:15:33 -0400 Subject: [PATCH] Fix results race condition --- web/src/use/usePaginatedResults.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/web/src/use/usePaginatedResults.ts b/web/src/use/usePaginatedResults.ts index 5cfb532e..2c53771a 100644 --- a/web/src/use/usePaginatedResults.ts +++ b/web/src/use/usePaginatedResults.ts @@ -54,7 +54,6 @@ export default function usePaginatedResult( if (dataObjectFilter !== undefined) { watch(dataObjectFilter, fetchResults, { deep: true }); } - fetchResults(); // ENDTODO function setPage(newPage: number) {