Browse Source

Manually pull in new state context on each button action enrichment to keep aware of state changes during button action execution

master
Andrew Kingston 5 years ago
parent
commit
2e979846c4
  1. 1
      packages/client/src/utils/buttonActions.js

1
packages/client/src/utils/buttonActions.js

@ -346,6 +346,7 @@ export const enrichButtonActions = (actions, context) => {
// Built total context for this action
const totalContext = {
...context,
state: get(stateStore),
actions: buttonContext,
eventContext,
}

Loading…
Cancel
Save