Skip to content

Commit 2979bf7

Browse files
committed
Correct wrong invariant check
1 parent 687747f commit 2979bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/connector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function Connector(store) {
1212
invariant(
1313
isFunction(callback),
1414
'The callback parameter passed to connect must be a Function. Instead received %s.',
15-
typeof selector
15+
typeof callback
1616
);
1717

1818
//Initial update

0 commit comments

Comments
 (0)