Skip to content

Commit

Permalink
include dependencies for callback
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkiWines committed Jan 5, 2024
1 parent e5594e9 commit 01b9f03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/EditRequestPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ function EditRequestPage({report, route, parentReport, policyCategories, policyT
IOU.updateMoneyRequestDescription(transaction.transactionID, report.reportID, newComment.trim());
}
Navigation.dismissModal();
}
)
},
[transactionDescription, transaction.transactionID, report.reportID],
);

if (fieldToEdit === CONST.EDIT_REQUEST_FIELD.DESCRIPTION) {
return (
Expand Down

0 comments on commit 01b9f03

Please sign in to comment.