fix: fix spelling of manualGroupBy parameter (#1860)

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
This commit is contained in:
Zain Shaikh
2020-02-14 12:57:05 -07:00
committed by GitHub
co-authored by Tanner Linsley
parent c984796190
commit 812b416367
2 changed files with 9 additions and 2 deletions
+8
View File
@@ -1,5 +1,13 @@
{
"dist/index.js": {
"bundled": 113198,
"minified": 52513,
"gzipped": 13835
},
"dist/index.es.js": {
"bundled": 112261,
"minified": 51677,
"gzipped": 13669,
"bundled": 126701,
"minified": 59700,
"gzipped": 15373
+1 -2
View File
@@ -128,7 +128,6 @@ function useInstance(instance) {
state: { groupBy },
dispatch,
autoResetGroupBy = true,
manaulGroupBy,
disableGroupBy,
defaultCanGroupBy,
getHooks,
@@ -320,7 +319,7 @@ function useInstance(instance) {
if (getAutoResetGroupBy()) {
dispatch({ type: actions.resetGroupBy })
}
}, [dispatch, manaulGroupBy ? null : data])
}, [dispatch, manualGroupBy ? null : data])
Object.assign(instance, {
preGroupedRows: rows,