We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0779e9 commit 37362c3Copy full SHA for 37362c3
examples/with-react-i18next/i18n.js
@@ -36,7 +36,7 @@ if (!i18n.isInitialized) i18n.init(options)
36
37
// a simple helper to getInitialProps passed on loaded i18n data
38
i18n.getInitialProps = (req, namespaces) => {
39
- if (!namespaces) namespaces = i18n.options.defautlNS
+ if (!namespaces) namespaces = i18n.options.defaultNS
40
if (typeof namespaces === 'string') namespaces = [namespaces]
41
42
req.i18n.toJSON = () => null // do not serialize i18next instance and send to client
0 commit comments