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 [ {