chore: defer social graph loading
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kieran 2024-08-26 16:40:51 +03:00
parent 001d2c415c
commit 2c58239e2c
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -60,7 +60,7 @@ async function initSite() {
const login = LoginStore.snapshot();
preload(login.state.follows).then(async () => {
await System.PreloadSocialGraph(login.state.follows);
queueMicrotask(() => System.PreloadSocialGraph(login.state.follows));
for (const ev of UserCache.snapshot()) {
try {