Skip to content

Commit

Permalink
minor fix.
Browse files Browse the repository at this point in the history
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
  • Loading branch information
Krishna2323 committed Jul 15, 2024
1 parent 105356b commit 8d553b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ function IOURequestStepScan({
>
{pdfFile && (
<PDFThumbnail
style={styles.invisiblePdf}
style={styles.invisiblePDF}
previewSourceURL={pdfFile?.uri ?? ''}
onLoadSuccess={() => {
setPdfFile(null);
Expand Down
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 @@ -519,7 +519,7 @@ function IOURequestStepScan({

const PDFThumbnailView = pdfFile ? (
<PDFThumbnail
style={styles.invisiblePdf}
style={styles.invisiblePDF}
previewSourceURL={pdfFile.uri ?? ''}
onLoadSuccess={() => {
setPdfFile(null);
Expand Down
2 changes: 1 addition & 1 deletion src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ const styles = (theme: ThemeColors) =>
justifyContent: 'center',
},

invisiblePdf: {
invisiblePDF: {
position: 'absolute',
opacity: 0,
width: 1,
Expand Down

0 comments on commit 8d553b0

Please sign in to comment.