fix(dispatcher): wrong .merge call in wizard
This commit is contained in:
parent
5964f69112
commit
9a38658bec
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export class WizardScene<State extends object> extends Dispatcher<State & Wizard
|
||||||
if (step >= this._steps) {
|
if (step >= this._steps) {
|
||||||
await state.exit()
|
await state.exit()
|
||||||
} else {
|
} else {
|
||||||
await state.merge({ $step: step }, this._defaultState)
|
await state.merge({ $step: step }, { fallback: this._defaultState })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue