Skip to content

Commit

Permalink
update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
jamuhl committed Jan 30, 2019
1 parent 0fafb45 commit 57d23cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"i18next-xhr-backend": "1.5.1",
"react": "16.7.0-alpha.2",
"react-dom": "16.7.0-alpha.2",
"react-i18next": "10.0.0-alpha.1",
"react-i18next": "10.0.0-alpha.2",
"react-scripts": "2.0.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion example/react/src/i18n.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import i18n from 'i18next';
import Backend from 'i18next-xhr-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next/hooks';
import { initReactI18next } from 'react-i18next';

i18n
// load translation using xhr -> see /public/locales
Expand Down

0 comments on commit 57d23cb

Please sign in to comment.