Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aeioual authored Feb 12, 2024
1 parent 5dc148c commit 977b59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/EditReportFieldDropdownPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
{
Expand Down

0 comments on commit 977b59c

Please sign in to comment.