diff --git a/src/mobx/State.ts b/src/mobx/State.ts index 66516793..43355e4e 100644 --- a/src/mobx/State.ts +++ b/src/mobx/State.ts @@ -234,6 +234,7 @@ var state: State; export async function hydrateState() { state = new State(); + (window as any).state = state; await state.hydrate(); }