fix search
Summary: Layout search was throwing errors before, now it's working. The problem was, the event object used in the `setTimeout`-callback was released, before the timeout fired and therefore was null. Reviewed By: jknoxville Differential Revision: D14209811 fbshipit-source-id: 2465241c376d3e709155830e796aa3b991cbd7de
This commit is contained in:
committed by
Facebook Github Bot
parent
385d74ef30
commit
2e8394cb36
@@ -216,6 +216,7 @@ export default class Inspector extends Component<Props> {
|
||||
onElementHovered={this.onElementHovered}
|
||||
onElementExpanded={this.onElementExpanded}
|
||||
onValueChanged={this.props.onDataValueChanged}
|
||||
searchResults={this.props.searchResults}
|
||||
selected={this.selected()}
|
||||
root={this.root()}
|
||||
elements={this.elements()}
|
||||
|
||||
Reference in New Issue
Block a user