Used a spread on the path.

This commit is contained in:
Gary Menzel
2019-04-28 23:39:50 +09:00
parent bc35e3262d
commit 932f529105
3 changed files with 3 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -143,7 +143,7 @@ export const useTable = (props, ...plugins) => {
const { path } = row
row.getRowProps = props =>
mergeProps(
{ key: ['row', path.join('_')].join('_') },
{ key: ['row', ...path].join('_') },
applyHooks(api.hooks.getRowProps, row, api),
props
)