Skip to content

Commit

Permalink
fix: Submit Expense - Error message about corrupted file when draggin…
Browse files Browse the repository at this point in the history
…g and dropping image receipt.

Signed-off-by: Krishna Gupta <[email protected]>
  • Loading branch information
Krishna2323 committed Apr 18, 2024
1 parent 3ec8f2f commit 7d62bc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/iou/request/step/IOURequestStepScan/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ function IOURequestStepScan({
onDrop={(e) => {
const file = e?.dataTransfer?.files[0];
if (file) {
file.uri = URL.createObjectURL(file);
setReceiptAndNavigate(file);
}
}}
Expand Down

0 comments on commit 7d62bc9

Please sign in to comment.