diff --git a/src/index.js b/src/index.js index 780fc3b..8bf857d 100644 --- a/src/index.js +++ b/src/index.js @@ -12,7 +12,7 @@ function bottenderXstate({ onEvent, onAction, }) { - return async context => { + return async function Xstate(context) { const transformedConfig = transformConfig(config, { events }); const machine = Machine(transformedConfig, { guards });