Skip to content

Commit

Permalink
[NewReplySection] remove setFlashMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOrz committed May 27, 2020
1 parent 5873c5b commit d031e0b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/NewReplySection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const NewReplySection = withContext(
relatedArticles,
onSubmissionComplete,
onError,
setFlashMessage,
onClose,
}) => {
const { fields, handlers } = useContext(ReplyFormContext);
Expand Down Expand Up @@ -92,7 +91,6 @@ const NewReplySection = withContext(
onSubmissionComplete(); // Notify upper component of submission
handlers.clear();
onClose();
setFlashMessage(t`Your have attached the reply to this message.`);
},
onError,
}
Expand Down

0 comments on commit d031e0b

Please sign in to comment.