Skip to content

Commit

Permalink
bring back one toSerializableAction call
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Nov 12, 2024
1 parent a58a3f2 commit b0a7992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/StateNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export class StateNode<
on: this.on,
transitions: [...this.transitions.values()].flat().map((t) => ({
...t,
actions: t.actions
actions: t.actions.map(toSerializableAction)
})),
entry: this.entry.map(toSerializableAction),
exit: this.exit.map(toSerializableAction),
Expand Down

0 comments on commit b0a7992

Please sign in to comment.