mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-06 09:51:09 +01:00
Add a workaround for the fact that MatrixChat attempts to use React state for the state of a state machine: a small `sleep` to let the state settle. As a result, it turns out we may not see the "Syncing..." state, and in general `waitForSyncAndLoad` doesn't seem to be doing anything useful.