Add configuration options

This commit is contained in:
John Furrow
2016-02-11 18:26:00 -08:00
parent 0fd6fd7d11
commit 366cb1b428
8 changed files with 24 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ export default class DirectoryTreeNode extends React.Component {
return (
<div className="directory-tree__node directory-tree__node--group">
<DirectoryTree tree={this.props.subTree} depth={this.props.depth}
hash={this.props.hash} />
hash={this.props.hash} key={`${this.state.expanded}-${this.props.depth}`} />
</div>
);
} else {