Skip to content

Commit 37362c3

Browse files
gloorxarunoda
authored andcommitted
Fix typo (vercel#2692)
1 parent f0779e9 commit 37362c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/with-react-i18next/i18n.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if (!i18n.isInitialized) i18n.init(options)
3636

3737
// a simple helper to getInitialProps passed on loaded i18n data
3838
i18n.getInitialProps = (req, namespaces) => {
39-
if (!namespaces) namespaces = i18n.options.defautlNS
39+
if (!namespaces) namespaces = i18n.options.defaultNS
4040
if (typeof namespaces === 'string') namespaces = [namespaces]
4141

4242
req.i18n.toJSON = () => null // do not serialize i18next instance and send to client

0 commit comments

Comments
 (0)