Fixes mediacms-io/mediacms#1046 - submition => submission (#1094)

This commit is contained in:
Nathan Hyde
2024-10-30 10:49:26 -07:00
committed by GitHub
parent 673ddeb5bd
commit 98adb22205
2 changed files with 2 additions and 2 deletions

View File

@@ -505,7 +505,7 @@ export default function CommentsList(props) {
function onCommentSubmitFail() {
// FIXME: Without delay creates conflict [ Uncaught Error: Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch. ].
setTimeout(
() => PageActions.addNotification(commentsText.ucfirstSingle + ' submition failed', 'commentSubmitFail'),
() => PageActions.addNotification(commentsText.ucfirstSingle + ' submission failed', 'commentSubmitFail'),
100
);
}