I see this error with the app, reported by NextJS, please fix it. The er

This commit is contained in:
Indigo Tang 2025-06-09 03:33:04 +00:00
parent 5bcc1bb2e8
commit 261f21af55
2 changed files with 11 additions and 11 deletions

View File

@ -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'),

View File

@ -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'),