Skip to content

Commit

Permalink
feat: merge context by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nightire committed Jan 6, 2022
1 parent 3afa117 commit 74d921c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default class ComponentManager {
machine = machine.withConfig(named.config as any);
}

let context = {};
let context = Object.assign({}, machine.context);

if ('context' in named) {
Object.assign(context, named.context);
Expand Down

0 comments on commit 74d921c

Please sign in to comment.