From a9fced9b0d4eab36f70da29a32fcaca3b2a37b6c Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Thu, 4 Apr 2019 08:35:42 -0700 Subject: [PATCH] Prettier --- src/devtools/views/Components/TreeContext.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/devtools/views/Components/TreeContext.js b/src/devtools/views/Components/TreeContext.js index 3e05372246..e403d70830 100644 --- a/src/devtools/views/Components/TreeContext.js +++ b/src/devtools/views/Components/TreeContext.js @@ -309,7 +309,10 @@ function reduceSearchState(store: Store, state: State, action: Action): State { } // Changes in search index or typing should override the selected element. - if (searchIndex !== prevSearchIndex || searchText.indexOf(prevSearchText) === 0) { + if ( + searchIndex !== prevSearchIndex || + searchText.indexOf(prevSearchText) === 0 + ) { if (searchIndex === null) { selectedElementIndex = null; selectedElementID = null;