chore: simplify
This commit is contained in:
parent
6d6a22d527
commit
788fa6446a
|
@ -1,6 +1,6 @@
|
|||
export const conditional = (condition, actions, context) => {
|
||||
if (condition.get(context)) {
|
||||
return this.serial(actions, context);
|
||||
return actions.serial(context);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user