mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-23 16:53:40 +01:00
Fixes mediacms-io/mediacms#1046 - submition => submission (#1094)
This commit is contained in:
parent
673ddeb5bd
commit
98adb22205
@ -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
|
||||
);
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user