Skip to content

Commit

Permalink
Merge pull request #1298 from grid-js/export-use-translator
Browse files Browse the repository at this point in the history
fix: export the useTranslator hook
  • Loading branch information
afshinm authored Jan 29, 2023
2 parents 72b0498 + e6e674f commit 6275e01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Cell from './src/cell';
import { useConfig } from './src/hooks/useConfig';
import { useStore } from './src/hooks/useStore';
import useSelector from './src/hooks/useSelector';
import { useTranslator } from 'src/i18n/language';

This comment has been minimized.

Copy link
@jure123

jure123 Apr 18, 2023

Path should be corrected to import { useTranslator } from './src/i18n/language';


export {
Grid,
Expand All @@ -31,4 +32,5 @@ export {
useConfig,
useState,
useSelector,
useTranslator,
};
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gridjs",
"version": "6.0.5",
"version": "6.0.6",
"description": "Advanced table plugin",
"author": "Afshin Mehrabani <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 6275e01

Please sign in to comment.