From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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