Skip to content

Commit

Permalink
change entry point for hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jamuhl committed Oct 27, 2018
1 parent 551692d commit 1340bf6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
### 8.3.1

- make export in ./hooks.js explicit

### 8.3.0

- Ensure withI18n hoists static members. [584](https://github.com/i18next/react-i18next/pull/584)
Expand Down
11 changes: 10 additions & 1 deletion hooks.js
@@ -1 +1,10 @@
export * from './dist/es/hooks';
export {
useT,
withT,
Trans,
initReactI18n,
setDefaults,
getDefaults,
setI18n,
getI18n,
} from './dist/es/hooks';
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "react-i18next",
"version": "8.3.0",
"version": "8.3.1",
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
"main": "dist/commonjs/index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 1340bf6

Please sign in to comment.