Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
c3024 committed Oct 16, 2024
1 parent dfab13e commit dd001f4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/pages/EditReportFieldDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import useLocalize from '@hooks/useLocalize';
import useTheme from '@hooks/useTheme';
import localeCompare from '@libs/LocaleCompare';
import * as OptionsListUtils from '@libs/OptionsListUtils';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import type {RecentlyUsedReportFields} from '@src/types/onyx';

Expand Down
1 change: 0 additions & 1 deletion src/pages/iou/request/MoneyRequestParticipantsSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ function MoneyRequestParticipantsSelector({
options.reports,
participants,
isPaidGroupPolicy,
debouncedSearchTerm,
]);

const chatOptions = useMemo(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function useOptions() {
const {recentReports, personalDetails, userToInvite, currentUserOption} = OptionsListUtils.getFilteredOptions({
reports: optionsList.reports,
personalDetails: optionsList.personalDetails,
betas: betas,
betas,

excludeLogins: [...CONST.EXPENSIFY_EMAILS, ...existingDelegates],

Expand Down
2 changes: 1 addition & 1 deletion tests/perf-test/OptionsListUtils.perf-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('OptionsListUtils', () => {
await waitForBatchedUpdates();
// Ideally getFilteredOptions should not be used with both options and search value
// The more performant filterOptions should be used instead to pass search value with options containing reports and personal details
// @ts-expect-error
// @ts-expect-error pass both options and search value together
await measureFunction(() => OptionsListUtils.getFilteredOptions({reports: options.reports, personalDetails: options.personalDetails, betas: mockedBetas, searchValue: SEARCH_VALUE}));
});

Expand Down

0 comments on commit dd001f4

Please sign in to comment.