Null action

This commit is contained in:
James Barnsley
2020-04-13 13:50:20 +12:00
parent 8927f0c947
commit eda7098b6d
4 changed files with 7 additions and 5 deletions

View File

@ -23,7 +23,7 @@ const CoreMiddleware = (function () {
/**
* The actual middleware inteceptor
* */
return (store) => (next) => (action) => {
return (store) => (next) => (action = {}) => {
const { core } = store.getState();
switch (action.type) {