diff --git a/src/components/AttachmentModal.js b/src/components/AttachmentModal.js
index 6be59ea4e724..b8bfb4c36122 100755
--- a/src/components/AttachmentModal.js
+++ b/src/components/AttachmentModal.js
@@ -469,29 +469,29 @@ function AttachmentModal(props) {
)}
)}
+ {isAttachmentReceipt ? (
+
+ ) : (
+
+ )}
- {isAttachmentReceipt ? (
-
- ) : (
-
- )}
{props.children &&
props.children({