Skip to content

Commit 7792bbe

Browse files
committed
fix: drag and drop issue in confirmation detail page
1 parent c223320 commit 7792bbe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ function IOURequestStepConfirmation({
10261026
showPreviousTransaction();
10271027
};
10281028

1029-
const shouldEnableDropAndDrop =
1029+
const shouldEnableDragAndDrop =
10301030
(iouType === CONST.IOU.TYPE.SUBMIT || iouType === CONST.IOU.TYPE.TRACK) && !isPerDiemRequest && (!isMovingTransactionFromTrackExpenseIOUUtils(action) || isPaidGroupPolicy(policy));
10311031

10321032
const shouldShowSmartScanFields =
@@ -1040,7 +1040,7 @@ function IOURequestStepConfirmation({
10401040
>
10411041
<DragAndDropProvider
10421042
setIsDraggingOver={setIsDraggingOver}
1043-
isDisabled={!shouldEnableDropAndDrop}
1043+
isDisabled={!shouldEnableDragAndDrop}
10441044
>
10451045
<View style={styles.flex1}>
10461046
<HeaderWithBackButton

0 commit comments

Comments
 (0)