Skip to content

Commit

Permalink
Fix calling reducer after subEffect. Issue alibaba#613
Browse files Browse the repository at this point in the history
  • Loading branch information
achernoprudov committed Mar 1, 2020
1 parent f5b7376 commit 5ab2123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/redux_component/helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Effect<T> combineEffects<T>(Map<Object, SubEffect<T>> map) =>
?.value;

if (subEffect != null) {
return subEffect.call(action, ctx) ?? _SUB_EFFECT_RETURN_NULL;
return subEffect.call(action, ctx);
}

//skip-lifecycle-actions
Expand Down

0 comments on commit 5ab2123

Please sign in to comment.