fix(core): update

This commit is contained in:
2023-10-03 19:19:54 +02:00
parent 83976fa3f4
commit 99cb86258e
3 changed files with 9 additions and 7 deletions

View File

@ -59,6 +59,7 @@ export class Smartstate<StatePartNameType> {
storeName: statePartName as any,
} : null
);
await newState.init();
const currentState = newState.getState();
await newState.setState({
...initialPayloadArg,