Skip to content

Commit ae0dbdd

Browse files
authored
Merge pull request Expensify#70049 from Krishna2323/krishna2323/issue/69452
fix: Dropping receipts in scan area also opens attachment view.
2 parents d43431b + 31df7a9 commit ae0dbdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/DropZone/DualDropZone.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function DualDropZone({isEditing, onAttachmentDrop, onReceiptDrop, shouldAcceptS
3333
const scanReceiptsText = shouldAcceptSingleReceipt ? 'dropzone.addReceipt' : 'dropzone.scanReceipts';
3434

3535
return (
36-
<DragAndDropConsumer>
36+
<DragAndDropConsumer onDrop={() => {}}>
3737
<View style={[shouldStackVertically ? styles.flexColumn : styles.flexRow, styles.w100, styles.h100]}>
3838
<DropZoneWrapper onDrop={onAttachmentDrop}>
3939
{({isDraggingOver}) => (

0 commit comments

Comments
 (0)