mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge branch 'master' of github.com:bvaughn/react-devtools-experimental
This commit is contained in:
@@ -353,10 +353,6 @@ function reduceSearchState(store: Store, state: State, action: Action): State {
|
||||
}
|
||||
}
|
||||
|
||||
if (searchIndex !== prevSearchIndex) {
|
||||
// The user intentionally navigated between search results
|
||||
didRequestSearch = true;
|
||||
}
|
||||
if (searchText !== prevSearchText) {
|
||||
const newSearchIndex = searchResults.indexOf(selectedElementID);
|
||||
if (newSearchIndex === -1) {
|
||||
|
||||
Reference in New Issue
Block a user