diff --git a/src/applications/mhv/secure-messaging/components/AttachmentsList.jsx b/src/applications/mhv/secure-messaging/components/AttachmentsList.jsx index 4adb68a7fa92..fdb56c527c59 100644 --- a/src/applications/mhv/secure-messaging/components/AttachmentsList.jsx +++ b/src/applications/mhv/secure-messaging/components/AttachmentsList.jsx @@ -123,6 +123,8 @@ const AttachmentsList = props => { {attachFileSuccess && attachments.length > 0 && ( { full-width="false" show-icon status="success" - onCloseEvent={handleSuccessAlertClose} + onCloseEvent={() => { + setAttachFileSuccess(false); + handleSuccessAlertClose(); + }} > -

File attached

-