From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/i18n-server.tsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/i18n-server.tsx b/app/components/i18n-server.tsx index 78d5ca4..bea8332 100644 --- a/app/components/i18n-server.tsx +++ b/app/components/i18n-server.tsx @@ -7,10 +7,10 @@ children: React.ReactNode } -const I18NServer = async ({ +const I18NServer = ({ children, }: II18NServerProps) => { - const locale = await getLocaleOnServer() + const locale = getLocaleOnServer() return ( <I18N {...{ locale }}> -- Gitblit v1.8.0