Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kubabutkiewicz committed Mar 11, 2024
1 parent a97db10 commit 67e4721
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions src/components/MoneyRequestConfirmationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -789,19 +789,21 @@ function MoneyRequestConfirmationList({
description={name}
numberOfLinesTitle={2}
onPress={() => {
if (isEditingSplitBill) {
Navigation.navigate(
ROUTES.MONEY_REQUEST_STEP_TAG.getRoute(
CONST.IOU.ACTION.EDIT,
CONST.IOU.TYPE.SPLIT,
index,
props.transaction.transactionID,
props.reportID,
Navigation.getActiveRouteWithoutParams(),
props.reportActionID,
),
);
if (!isEditingSplitBill) {
return;
}

Navigation.navigate(
ROUTES.MONEY_REQUEST_STEP_TAG.getRoute(
CONST.IOU.ACTION.EDIT,
CONST.IOU.TYPE.SPLIT,
index,
transaction?.transactionID ?? '',
reportID,
Navigation.getActiveRouteWithoutParams(),
reportActionID,
),
);
}}
style={styles.moneyRequestMenuItem}
disabled={didConfirm}
Expand Down

0 comments on commit 67e4721

Please sign in to comment.