Skip to content

Commit

Permalink
update example/react devs
Browse files Browse the repository at this point in the history
  • Loading branch information
adrai committed Apr 3, 2020
1 parent d92d92a commit 2252592
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions example/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"i18next": "18.0.0",
"i18next-browser-languagedetector": "4.0.0",
"i18next-xhr-backend": "3.2.0",
"react": "16.11.0",
"react-dom": "16.11.0",
"react-i18next": "11.0.0",
"react-scripts": "3.2.0"
"i18next": "19.3.4",
"i18next-browser-languagedetector": "4.0.2",
"i18next-xhr-backend": "3.2.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-i18next": "11.3.4",
"react-scripts": "3.4.1"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion example/react/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import './App.css';
// use hoc for class based components
class LegacyWelcomeClass extends Component {
render() {
const { t, i18n } = this.props;
const { t } = this.props;
return <h2>{t('title')}</h2>;
}
}
Expand Down

0 comments on commit 2252592

Please sign in to comment.