Skip to content

Commit

Permalink
Merge pull request #32433 from Expensify/vit-fixLint
Browse files Browse the repository at this point in the history
[NoQA] Fix lint in AttachmentModal
  • Loading branch information
mountiny authored Dec 4, 2023
2 parents d0854b8 + daf15da commit 254da2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AttachmentModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function AttachmentModal(props) {
const [isDownloadButtonReadyToBeShown, setIsDownloadButtonReadyToBeShown] = React.useState(true);
const {windowWidth} = useWindowDimensions();

const isOverlayModalVisible = (isAttachmentReceipt && isDeleteReceiptConfirmModalVisible) || (!isAttachmentReceipt && isAttachmentInvalid);
const isOverlayModalVisible = (props.isReceiptAttachment && isDeleteReceiptConfirmModalVisible) || (!props.isReceiptAttachment && isAttachmentInvalid);

const [file, setFile] = useState(
props.originalFileName
Expand Down

0 comments on commit 254da2f

Please sign in to comment.