fix: remove redundant props (#4787)

This commit is contained in:
Lesenelir 2024-05-30 18:58:08 +08:00 committed by GitHub
commit 615c009c42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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()