Skip to content

Commit

Permalink
Merge pull request #40385 from ishpaul777/fix/pdf-not-showing-for-mon…
Browse files Browse the repository at this point in the history
…ey-request

Fix/pdf not showing for money request
  • Loading branch information
aldo-expensify authored Apr 18, 2024
2 parents 816ed6b + 2f05d22 commit 1db9087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MoneyRequestConfirmationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ function MoneyRequestConfirmationList({
isLocalFile && Str.isPDF(receiptFilename) ? (
<PDFThumbnail
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
previewSourceURL={resolvedThumbnail as string}
previewSourceURL={resolvedReceiptImage as string}
style={styles.moneyRequestImage}
// We don't support scaning password protected PDF receipt
enabled={!isAttachmentInvalid}
Expand Down

0 comments on commit 1db9087

Please sign in to comment.