Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nyomanjyotisa committed Nov 22, 2024
1 parent 9831050 commit b6d3c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepScan/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ function IOURequestStepScan({
setIsLoadingReceipt(false);
return;
}

const fileName = originalFile.name ? originalFile.name.replace(/\.heic$/i, '.jpg') : 'converted-image.jpg';

const jpegFile = new File([blobToUse], fileName, {type: 'image/jpeg'});
Expand Down

0 comments on commit b6d3c8f

Please sign in to comment.