We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd094c commit 8a4fd52Copy full SHA for 8a4fd52
src/appWithTranslation.tsx
@@ -79,9 +79,7 @@ export const appWithTranslation = <Props extends NextJsAppProps>(
79
}
80
81
const { initialI18nStore } = _nextI18Next || {}
82
- const resources = configOverride?.resources
83
- ? configOverride.resources
84
- : initialI18nStore
+ const resources = configOverride?.resources ?? initialI18nStore
85
86
if (!locale) locale = userConfig.i18n.defaultLocale
87
0 commit comments