We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c04ba81 commit c5a8820Copy full SHA for c5a8820
packages/node_modules/overmind/src/config/statechart.ts
@@ -93,7 +93,7 @@ function createNewStatePath(
93
94
// If we have more nested state, go grab the initial states
95
if (stateTarget.chart) {
96
- return newStatePath.concat(getInitialState(stateTarget))
+ return newStatePath.concat(getInitialState(stateTarget.chart))
97
}
98
99
return newStatePath
0 commit comments