[chore] remove additional unused variable

This commit is contained in:
Sam Lanning 2018-12-11 13:15:07 -08:00 committed by 偏右
parent e56e1a71c3
commit af8a025aeb

View File

@ -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;