Skip to content

Commit

Permalink
Stateful object
Browse files Browse the repository at this point in the history
  • Loading branch information
stunnerboyone committed Jul 28, 2023
1 parent ea914e8 commit 2d40080
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/transformState.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ function transformState(state, actions) {
}
break;
default:
continue;
const errorMessage = new Error('Array have not correct action value');

return errorMessage;
}
}

Expand Down

0 comments on commit 2d40080

Please sign in to comment.