Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
daledah committed Jul 5, 2024
1 parent a42e946 commit 4b8305c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/iou/request/MoneyRequestParticipantsSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function MoneyRequestParticipantsSelector({participants = CONST.EMPTY_ARRAY, onF

const isIOUSplit = iouType === CONST.IOU.TYPE.SPLIT;
const isCategorizeOrShareAction = [CONST.IOU.ACTION.CATEGORIZE, CONST.IOU.ACTION.SHARE].some((option) => option === action);
const isCategorizeAction = action === CONST.IOU.ACTION.CATEGORIZE;
const shouldShowReferralBanner = !isDismissed && iouType !== CONST.IOU.TYPE.INVOICE;

useEffect(() => {
Expand Down Expand Up @@ -124,7 +123,7 @@ function MoneyRequestParticipantsSelector({participants = CONST.EMPTY_ARRAY, onF
undefined,
undefined,
iouType === CONST.IOU.TYPE.INVOICE,
isCategorizeAction,
action,
);

return optionList;
Expand All @@ -136,7 +135,6 @@ function MoneyRequestParticipantsSelector({participants = CONST.EMPTY_ARRAY, onF
didScreenTransitionEnd,
iouRequestType,
iouType,
isCategorizeAction,
isCategorizeOrShareAction,
options.personalDetails,
options.reports,
Expand Down

0 comments on commit 4b8305c

Please sign in to comment.