Skip to content

Commit

Permalink
Task: Fix omit prop
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign authored and markusguenther committed Nov 28, 2022
1 parent 60f08fb commit e515af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-ui-components/src/Tree/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class Header extends PureComponent {
canDrop,
...restProps
} = this.props;
const rest = omit(restProps, ['onToggle', 'isCollapsed', 'hasError', 'isDragging', 'dragForbidden']);
const rest = omit(restProps, ['onToggle', 'isCollapsed', 'hasError', 'isDragging', 'dragForbidden', 'connectDragPreview']);
const dataClassNames = mergeClassNames({
[theme.header__data]: true,
[theme['header__data--isActive']]: isActive,
Expand Down

0 comments on commit e515af5

Please sign in to comment.