From dfc5138fe3f22c593ffdd7e3a4b0beb700b076a5 Mon Sep 17 00:00:00 2001 From: Abhinav-grd Date: Mon, 8 Feb 2021 16:31:05 +0530 Subject: [PATCH] added if braces --- src/services/fileService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/fileService.ts b/src/services/fileService.ts index 238f9ffcb..834c30a88 100644 --- a/src/services/fileService.ts +++ b/src/services/fileService.ts @@ -84,8 +84,9 @@ export const fetchFiles = async ( continue; } const thisCollectionUpdateTime=await localForage.getItem(`${collection.id}-time`); - if(collectionsUpdateTime===thisCollectionUpdateTime) + if(collectionsUpdateTime===thisCollectionUpdateTime){ continue; + } let fetchedFiles = await getFiles(collection, null, 100, token)??[]; files.push(...fetchedFiles); var latestVersionFiles = new Map();