From b9e748ff3b385a8db927d0ccfc1cb6cd0eea7d6d Mon Sep 17 00:00:00 2001 From: himeshr Date: Thu, 4 Apr 2024 11:53:18 +0530 Subject: [PATCH] #1133 | Fix build break --- src/dataEntryApp/components/MediaUploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dataEntryApp/components/MediaUploader.js b/src/dataEntryApp/components/MediaUploader.js index 5fc876737..8ea94e213 100644 --- a/src/dataEntryApp/components/MediaUploader.js +++ b/src/dataEntryApp/components/MediaUploader.js @@ -162,7 +162,7 @@ export const MediaUploader = ({ label, obsValue, mediaType, update, formElement const onDelete = fileName => { if (isMultiSelect && isArrayLikeObject(localObsValue)) { - setLocalObsValue(localObsValue.filter(item => item != fileName)); + setLocalObsValue(localObsValue.filter(item => item !== fileName)); } else { if (localObsValue === fileName) setLocalObsValue(); //Remove previous value }