We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdccb5d commit f5bd96bCopy full SHA for f5bd96b
src/state/stateQueueManager.ts
@@ -56,7 +56,7 @@ export class StateQueueManager {
56
57
if (result) {
58
if (states.hasOwnProperty(state.name))
59
- throw new Error(`State '${name}' is already defined`);
+ throw new Error(`State '${state.name}' is already defined`);
60
states[state.name] = state;
61
this.attachRoute($state, state);
62
if (orphanIdx >= 0) orphans.splice(orphanIdx, 1);
0 commit comments