Skip to content

Commit

Permalink
Remove Unneeded ESLint Line Flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Dec 9, 2015
1 parent 683dc38 commit c699952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/bindActionCreators.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function bindActionCreators(actionCreators, dispatch) {
return bindActionCreator(actionCreators, dispatch)
}

if (typeof actionCreators !== 'object' || actionCreators === null || actionCreators === undefined) { // eslint-disable-line no-eq-null
if (typeof actionCreators !== 'object' || actionCreators === null || actionCreators === undefined) {
throw new Error(
`bindActionCreators expected an object or a function, instead received ${actionCreators === null ? 'null' : typeof actionCreators}. ` +
`Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`
Expand Down

0 comments on commit c699952

Please sign in to comment.