choo: fix model trigger ordering

This commit is contained in:
Yoshua Wuyts
2016-05-13 12:23:25 +07:00
parent 56f335b71d
commit 5d3cb47a99
+1 -1
View File
@@ -120,7 +120,7 @@ function bootstrap (events) {
}
if (effects[action.type]) {
effects[action.type](action, state, send)
effects[action.type](action, newState || state, send)
newState = newState || state
_effects = true
}