Fix bad boolean in professor-x

This commit is contained in:
Berkeley Martinez
2016-02-29 12:59:35 -08:00
parent 5ee802999e
commit a173ddf375

View File

@ -158,7 +158,7 @@ export default function contain(options = {}, Component) {
);
const fetch$ = action.apply(null, actionArgs);
if (__DEV__ && Observable.isObservable(fetch$)) {
if (__DEV__ && !Observable.isObservable(fetch$)) {
throw new Error(
'fetch action should return observable'
);