Fix UIExplorer freezing / persistence

This commit is contained in:
Alex Akers committed 2015-07-27 08:35:34 -08:00
1 parent f9abb5aae2
commit d178e27939
2 files changed
+22 -24

No files matched your search

-9
View File
@@ -166,15 +166,6 @@ class UIExplorerList extends React.Component {
componentDidMount() {
this._search(this.state.searchText);
var visibleExampleTitle = Settings.get('visibleExample');
if (visibleExampleTitle) {
var predicate = (example) => example.title === visibleExampleTitle;
var foundExample = APIS.find(predicate) || COMPONENTS.find(predicate);
if (foundExample) {
setTimeout(() => this._openExample(foundExample), 100);
}
}
}
render() {