Skip to content

Commit

Permalink
update property to required
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed May 7, 2024
1 parent c5c3c45 commit a407e7d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/pages/iou/request/MoneyRequestParticipantsSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,10 @@ type MoneyRequestParticipantsSelectorProps = {
iouRequestType: IOURequestType;

/** The action of the IOU, i.e. create, split, move */
action?: IOUAction;
action: IOUAction;
};

function MoneyRequestParticipantsSelector({
participants = [],
onFinish,
onParticipantsAdded,
iouType,
iouRequestType,
action = CONST.IOU.ACTION.CREATE,
}: MoneyRequestParticipantsSelectorProps) {
function MoneyRequestParticipantsSelector({participants = [], onFinish, onParticipantsAdded, iouType, iouRequestType, action}: MoneyRequestParticipantsSelectorProps) {
const {translate} = useLocalize();
const styles = useThemeStyles();
const [searchTerm, debouncedSearchTerm, setSearchTerm] = useDebouncedState('');
Expand Down

0 comments on commit a407e7d

Please sign in to comment.