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

This commit is contained in:
Domenuch
2019-06-20 14:49:04 -04:00
committed by Tanner Linsley
parent 9de149cf3c
commit 58d38b668b

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
)