This commit is contained in:
mgabdev
2020-03-14 13:31:29 -04:00
parent d78dd971c0
commit 65af72faae
81 changed files with 1101 additions and 662 deletions

View File

@@ -1,4 +1,4 @@
import { showAlertForError } from '../actions/alerts';
// import { showAlertForError } from '../actions/alerts';
const defaultFailSuffix = 'FAIL';
@@ -8,7 +8,7 @@ export default function errorsMiddleware() {
const isFail = new RegExp(`${defaultFailSuffix}$`, 'g');
if (action.type.match(isFail)) {
dispatch(showAlertForError(action.error));
// dispatch(showAlertForError(action.error));
}
}