Fix bad boolean in professor-x

This commit is contained in:
Berkeley Martinez
2016-03-03 17:53:33 -08:00
parent 5ee802999e
commit a173ddf375
+1 -1
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'
);