From 977b59c6e095b5e406b7cccc92eaa8ac0b8fd6d3 Mon Sep 17 00:00:00 2001 From: Amarparab2024 <156438377+Amarparab2024@users.noreply.github.com> Date: Mon, 12 Feb 2024 13:40:48 +0530 Subject: [PATCH] Fix lint --- src/pages/EditReportFieldDropdownPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/EditReportFieldDropdownPage.tsx b/src/pages/EditReportFieldDropdownPage.tsx index a602f56d66ad..1ad3c766221b 100644 --- a/src/pages/EditReportFieldDropdownPage.tsx +++ b/src/pages/EditReportFieldDropdownPage.tsx @@ -48,7 +48,7 @@ function EditReportFieldDropdownPage({fieldName, onSubmit, fieldID, fieldValue, const sections = useMemo(() => { const filteredRecentOptions = recentlyUsedOptions.filter((option) => option.toLowerCase().includes(searchValue.toLowerCase())); const filteredRestOfOptions = fieldOptions.filter((option) => !filteredRecentOptions.includes(option) && option.toLowerCase().includes(searchValue.toLowerCase())); - setHeaderMessage((!filteredRecentOptions.length && !filteredRestOfOptions.length) ? translate('common.noResultsFound') : ''); + setHeaderMessage(!filteredRecentOptions.length && !filteredRestOfOptions.length ? translate('common.noResultsFound') : ''); return [ {