Skip to content

Commit 31df7a9

Browse files
committed
fix: Dropping receipts in scan area also opens attachment view.
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
1 parent a3f8cbc commit 31df7a9

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)