Browse Source

[chore] remove additional unused variable

pull/13747/head
Sam Lanning 6 years ago
committed by 偏右
parent
commit
af8a025aeb
  1. 2
      components/tree/DirectoryTree.tsx

2
components/tree/DirectoryTree.tsx

@ -132,7 +132,7 @@ export default class DirectoryTree extends React.Component<DirectoryTreeProps, D
onSelect = (keys: string[], event: AntTreeNodeSelectedEvent) => {
const { onSelect, multiple, children } = this.props;
const { expandedKeys = [], selectedKeys = [] } = this.state;
const { expandedKeys = [] } = this.state;
const { node, nativeEvent } = event;
const { eventKey = '' } = node.props;

Loading…
Cancel
Save