diff --git a/src/app.jsx b/src/app.jsx index 9d7ead6..c09f562 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -124,11 +124,13 @@ setInterval(() => { // Related: https://github.com/vitejs/vite/issues/10600 setTimeout(() => { for (const icon in ICONS) { - if (Array.isArray(ICONS[icon])) { - ICONS[icon][0]?.(); - } else { - ICONS[icon]?.(); - } + queueMicrotask(() => { + if (Array.isArray(ICONS[icon])) { + ICONS[icon][0]?.(); + } else { + ICONS[icon]?.(); + } + }); } }, 5000);