mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 08:38:37 +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() {
|
||||
state = new State();
|
||||
(window as any).state = state;
|
||||
await state.hydrate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user