chore: allow state to be visible globally

pull/1049/head
Paul Makles 2021-12-26 23:04:14 +00:00
parent 1475c37b9d
commit 55b79536d4
1 changed files with 1 additions and 0 deletions

View File

@ -234,6 +234,7 @@ var state: State;
export async function hydrateState() {
state = new State();
(window as any).state = state;
await state.hydrate();
}