Skip to content

Commit

Permalink
feat: only overwrite ns config if it provided
Browse files Browse the repository at this point in the history
  • Loading branch information
NamPNQ committed Apr 13, 2024
1 parent c7ed24a commit e4bba21
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 e4bba21

Please sign in to comment.