I see this error with the app, reported by NextJS, please fix it. The er
This commit is contained in:
@@ -7,7 +7,7 @@ export const {
|
|||||||
useScopedI18n,
|
useScopedI18n,
|
||||||
I18nProviderClient,
|
I18nProviderClient,
|
||||||
useChangeLocale,
|
useChangeLocale,
|
||||||
useCurrentLocale
|
useCurrentLocale,
|
||||||
} = createI18nClient({
|
} = createI18nClient({
|
||||||
en: () => import('./en'),
|
en: () => import('./en'),
|
||||||
'zh-TW': () => import('./zh-TW'),
|
'zh-TW': () => import('./zh-TW'),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export const {
|
|||||||
getI18n,
|
getI18n,
|
||||||
getScopedI18n,
|
getScopedI18n,
|
||||||
getCurrentLocale,
|
getCurrentLocale,
|
||||||
getStaticParams
|
getStaticParams,
|
||||||
} = createI18nServer({
|
} = createI18nServer({
|
||||||
en: () => import('./en'),
|
en: () => import('./en'),
|
||||||
'zh-TW': () => import('./zh-TW'),
|
'zh-TW': () => import('./zh-TW'),
|
||||||
|
|||||||
Reference in New Issue
Block a user