changed applyHook to applyPropHooks inside getRowProps mergeProps fn (#1367)

This commit is contained in:
Domenuch
2019-06-20 12:49:04 -06:00
committed by Tanner Linsley
parent 9de149cf3c
commit 58d38b668b
+1 -1
View File
@@ -150,7 +150,7 @@ export const useTable = (props, ...plugins) => {
row.getRowProps = props =>
mergeProps(
{ key: ['row', ...path].join('_') },
applyHooks(api.hooks.getRowProps, row, api),
applyPropHooks(api.hooks.getRowProps, row, api),
props
)