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

pull/1093/merge
Nathan Hyde 2024-10-30 10:49:26 -07:00 zatwierdzone przez GitHub
rodzic 673ddeb5bd
commit 98adb22205
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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