From ac4974d3eeef238337dd033249d32b9e340f934f Mon Sep 17 00:00:00 2001
From: 简律纯 <i@jyunko.cn>
Date: Wed, 18 Mar 2026 11:49:02 +0800
Subject: Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---
 packages/ui/src/pages/index.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'packages/ui/src/pages/index.tsx')

diff --git a/packages/ui/src/pages/index.tsx b/packages/ui/src/pages/index.tsx
index db08acc..209a1b2 100644
--- a/packages/ui/src/pages/index.tsx
+++ b/packages/ui/src/pages/index.tsx
@@ -19,7 +19,9 @@ export function IndexPage() {
     authStore.init();
     settingsStore.refresh();
     instanceStore.refresh();
-    initGameLifecycle();
+    void initGameLifecycle().catch((error) => {
+      console.error("Failed to initialize game lifecycle:", error);
+    });
   }, [authStore.init, settingsStore.refresh, instanceStore.refresh, initGameLifecycle]);
 
   return (
-- 
cgit v1.2.3-70-g09d2

