fix: remove redundant props (#4787)

This commit is contained in:
Lesenelir
2024-05-30 18:58:08 +08:00
committed by GitHub
parent a325a294bd
commit 615c009c42
2 changed files with 2 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ export type II18NServerProps = {
children: React.ReactNode
}
const I18NServer = async ({
const I18NServer = ({
children,
}: II18NServerProps) => {
const locale = getLocaleOnServer()