Skip to content

Commit

Permalink
fix usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Nov 26, 2024
1 parent 65c770e commit 8bb573f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/pages/NewChatPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ function useOptions() {
{
betas: betas ?? [],
selectedOptions,
maxRecentReportsToShow: 0,
includeSelfDM: true,
},
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function useOptions() {
{
betas,
excludeLogins: [...CONST.EXPENSIFY_EMAILS, ...existingDelegates],
maxRecentReportsToShow: 0,
},
);

Expand Down
3 changes: 1 addition & 2 deletions src/pages/tasks/TaskAssigneeSelectorModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ function useOptions() {
{
betas,
excludeLogins: CONST.EXPENSIFY_EMAILS,
maxRecentReportsToShow: 0,
},
);

Expand All @@ -69,7 +68,7 @@ function useOptions() {
}, [optionsList.reports, optionsList.personalDetails, betas, isLoading]);

const options = useMemo(() => {
const filteredOptions = OptionsListUtils.filterAndOrderOptionsrOptions(defaultOptions, debouncedSearchValue.trim(), {
const filteredOptions = OptionsListUtils.filterAndOrderOptions(defaultOptions, debouncedSearchValue.trim(), {
excludeLogins: CONST.EXPENSIFY_EMAILS,
maxRecentReportsToShow: CONST.IOU.MAX_RECENT_REPORTS_TO_SHOW,
});
Expand Down

0 comments on commit 8bb573f

Please sign in to comment.