summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/src/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/index.ts b/frontend/src/index.ts
index c962375b..7910c740 100644
--- a/frontend/src/index.ts
+++ b/frontend/src/index.ts
@@ -5,9 +5,9 @@ interface Window {
}
(async () => {
- // Wait for react to definitely be loaded
- console.debug('[Decky:Boot] Waiting for React chunk...');
- while (!window.webpackChunksteamui || window.webpackChunksteamui <= 3) {
+ // Wait for main webpack chunks to definitely be loaded
+ console.debug('[Decky:Boot] Waiting for main Webpack chunks...');
+ while (!window.webpackChunksteamui || window.webpackChunksteamui.length < 8) {
await new Promise((r) => setTimeout(r, 10)); // Can't use DFL sleep here.
}