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;