mirror of
https://github.com/gosticks/react-table.git
synced 2026-07-05 20:00:01 +00:00
changed applyHook to applyPropHooks inside getRowProps mergeProps fn (#1367)
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user