Skip to content

Commit

Permalink
call orderOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Dec 9, 2024
1 parent ee50f31 commit 25a1352
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/pages/iou/request/MoneyRequestParticipantsSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,13 @@ function MoneyRequestParticipantsSelector({
},
);

const orderedOptions = OptionsListUtils.orderOptions(optionList, undefined, {
sortByReportTypeInSearch: isPaidGroupPolicy,
});
const orderedOptions = OptionsListUtils.orderOptions(optionList);

return {
...optionList,
...orderedOptions,
};
}, [action, areOptionsInitialized, betas, didScreenTransitionEnd, iouType, isCategorizeOrShareAction, isPaidGroupPolicy, options.personalDetails, options.reports, participants]);
}, [action, areOptionsInitialized, betas, didScreenTransitionEnd, iouType, isCategorizeOrShareAction, options.personalDetails, options.reports, participants]);

const chatOptions = useMemo(() => {
if (!areOptionsInitialized) {
Expand Down

0 comments on commit 25a1352

Please sign in to comment.