Skip to content

Commit

Permalink
only overwrite ns when createClient if it present, else we will defau…
Browse files Browse the repository at this point in the history
…lt ns from createConfig
  • Loading branch information
NamPNQ committed Apr 10, 2024
1 parent d4ee4ff commit 4f5f592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appWithTranslation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const appWithTranslation = <Props extends NextJsAppProps>(
lng: locale,
}),
lng: locale,
ns,
...(ns && { ns }),
resources,
}).i18n

Expand Down

0 comments on commit 4f5f592

Please sign in to comment.