From 4070b1968292c55381a3c2624ae7d462a0a49770 Mon Sep 17 00:00:00 2001 From: Carlos Date: Sat, 23 Sep 2023 17:41:40 -0500 Subject: [PATCH] fix linter --- src/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 36d1eb9..ff77ff2 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -20,7 +20,7 @@ export const findObjectByClosestTimestamp = ( ) => { if (objects.length === 0) return null; - let dateLabelObjects = objects.filter(item => item.type !== 'DATE_LABEL'); + const dateLabelObjects = objects.filter(item => item.type !== 'DATE_LABEL'); let closestObj = dateLabelObjects[0]; let closestTimestamp = closestObj.creationTimestamp;