diff --git a/src/devtools/views/Components/TreeContext.js b/src/devtools/views/Components/TreeContext.js index 0be84a9e1d..f66ad3e46e 100644 --- a/src/devtools/views/Components/TreeContext.js +++ b/src/devtools/views/Components/TreeContext.js @@ -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) {