Skip to content

Commit 687747f

Browse files
committed
Correct wrong invariant checks
1 parent 3d51a63 commit 687747f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ngRedux.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ export default function ngReduxProvider() {
1212
invariant(
1313
isFunction(reducer),
1414
'The reducer parameter passed to createStoreWith must be a Function. Instead received %s.',
15-
typeof selector
15+
typeof reducer
1616
);
1717

1818
invariant(
1919
!storeEnhancer || isFunction(storeEnhancer),
2020
'The storeEnhancer parameter passed to createStoreWith must be a Function. Instead received %s.',
21-
typeof selector
21+
typeof storeEnhancer
2222
);
2323

2424
_reducer = reducer;

0 commit comments

Comments
 (0)