Skip to content

Commit

Permalink
fix to scroll bottom when cancel payment
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Dec 25, 2024
1 parent 8ff9230 commit 85fe866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7742,6 +7742,7 @@ function cancelPayment(expenseReport: OnyxEntry<OnyxTypes.Report>, chatReport: O
key: `${ONYXKEYS.COLLECTION.REPORT}${expenseReport.reportID}`,
value: {
...expenseReport,
lastVisibleActionCreated: optimisticReportAction?.created,
lastMessageText: ReportActionsUtils.getReportActionText(optimisticReportAction),
lastMessageHtml: ReportActionsUtils.getReportActionHtml(optimisticReportAction),
stateNum,
Expand Down

0 comments on commit 85fe866

Please sign in to comment.