Skip to content

Commit 18e2e53

Browse files
committed
chore: C+ comment
1 parent 5cec5c6 commit 18e2e53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/iou/request/step/IOURequestStepParticipants.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function IOURequestStepParticipants({
202202
// We don't want to compare params because we just changed the participants.
203203
Navigation.goBack(iouConfirmationPageRoute, {compareParams: false});
204204
} else {
205-
// We wrap navigation in setNavigationActionToMicrotaskQueue so that data loading in Onyx and navigation do not occur simultaneously.
205+
// We wrap navigation in setNavigationActionToMicrotaskQueue so that data loading in Onyx and navigation do not occur simultaneously, which resets the amount to 0.
206206
// More information can be found here: https://github.com/Expensify/App/issues/73728
207207
Navigation.setNavigationActionToMicrotaskQueue(() => {
208208
Navigation.navigate(iouConfirmationPageRoute);
@@ -359,7 +359,7 @@ function IOURequestStepParticipants({
359359
// We don't want to compare params because we just changed the participants.
360360
Navigation.goBack(route, {compareParams: false});
361361
} else {
362-
// We wrap navigation in setNavigationActionToMicrotaskQueue so that data loading in Onyx and navigation do not occur simultaneously.
362+
// We wrap navigation in setNavigationActionToMicrotaskQueue so that data loading in Onyx and navigation do not occur simultaneously, which resets the amount to 0.
363363
// More information can be found here: https://github.com/Expensify/App/issues/73728
364364
Navigation.setNavigationActionToMicrotaskQueue(() => {
365365
Navigation.navigate(route);

0 commit comments

Comments
 (0)