From fd6bcf6764b1e37d694672ab714921ed74cfe18a Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 14 Dec 2023 15:01:13 +0700 Subject: [PATCH] remove pending fields --- src/libs/actions/Transaction.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libs/actions/Transaction.ts b/src/libs/actions/Transaction.ts index 86bd1b31714d..2132ae1bdc61 100644 --- a/src/libs/actions/Transaction.ts +++ b/src/libs/actions/Transaction.ts @@ -59,9 +59,6 @@ function addStop(transactionID: string) { function saveWaypoint(transactionID: string, index: string, waypoint: RecentWaypoint | null, isDraft = false) { Onyx.merge(`${isDraft ? ONYXKEYS.COLLECTION.TRANSACTION : ONYXKEYS.COLLECTION.TRANSACTION_DRAFT}${transactionID}`, { - pendingFields: { - waypoints: isDraft ? CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE : CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD, - }, comment: { waypoints: { [`waypoint${index}`]: waypoint,