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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

File diff suppressed because one or more lines are too long