mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-10 10:35:27 +00:00
chore: allow state to be visible globally
This commit is contained in:
@@ -234,6 +234,7 @@ var state: State;
|
|||||||
|
|
||||||
export async function hydrateState() {
|
export async function hydrateState() {
|
||||||
state = new State();
|
state = new State();
|
||||||
|
(window as any).state = state;
|
||||||
await state.hydrate();
|
await state.hydrate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user