main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
494 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 |
|
---|
7 | exports.default = function (nextState, reducerName, action) {
|
---|
8 | // eslint-disable-next-line no-undefined
|
---|
9 | if (nextState === undefined) {
|
---|
10 | throw new Error('Reducer "' + reducerName + '" returned undefined when handling "' + action.type + '" action. To ignore an action, you must explicitly return the previous state.');
|
---|
11 | }
|
---|
12 | };
|
---|
13 |
|
---|
14 | module.exports = exports['default'];
|
---|
15 | //# sourceMappingURL=validateNextState.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.