From 4ce7ef561ad3230f272c0f559419b254235968e4 Mon Sep 17 00:00:00 2001 From: Christoph Pader Date: Tue, 20 Aug 2024 09:59:28 +0200 Subject: [PATCH] fix: lint error --- src/libs/actions/OnyxUpdateManager/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/OnyxUpdateManager/utils/index.ts b/src/libs/actions/OnyxUpdateManager/utils/index.ts index a29e6397b4e0..bb5dd599480e 100644 --- a/src/libs/actions/OnyxUpdateManager/utils/index.ts +++ b/src/libs/actions/OnyxUpdateManager/utils/index.ts @@ -89,7 +89,7 @@ function detectGapsAndSplit(lastUpdateIDFromClient: number): DetectGapAndSplitRe } } - let updatesAfterGaps: DeferredUpdatesDictionary = {}; + const updatesAfterGaps: DeferredUpdatesDictionary = {}; if (gapExists) { // If there is a gap and we didn't detect two chained updates, "firstUpdateToBeAppliedAfterGap" will always be the the last deferred update. // We will fetch all missing updates up to the previous update and can always apply the last deferred update.