From 2e3355f52ccdf21cebb3fef4c8e0469c748c65d2 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Wed, 22 Oct 2025 23:07:23 +0800 Subject: [PATCH] fix: update language setting to use i18n configuration --- pages/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/page.tsx b/pages/page.tsx index 5905fa9..528bcb7 100644 --- a/pages/page.tsx +++ b/pages/page.tsx @@ -51,7 +51,7 @@ export default function HomePage() { pageAgent = new PageAgent({ // 把 react 根元素排除掉,挂了很多冒泡时间导致假阳 interactiveBlacklist: [document.getElementById('root')!], - language: 'zh-CN', + language: i18n.language as any, // testing server // @note: rate limit. prompt limit.