Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix(SearchBar):lint

Aswin Asok6d0f1e71c3a4
diff --git a/web/packages/new/photos/components/gallery/reducer.ts b/web/packages/new/photos/components/gallery/reducer.ts
index 1a23bcac85..435e661302 100644
--- a/web/packages/new/photos/components/gallery/reducer.ts
+++ b/web/packages/new/photos/components/gallery/reducer.ts
@@ -1148,7 +1148,9 @@ const galleryReducer: React.Reducer<GalleryState, GalleryAction> = (
searchSuggestion: undefined,
isRecomputingSearchResults: false,
pendingSearchSuggestions: [],
- isInSearchMode: shouldExitSearchMode ? false : state.isInSearchMode,
+ isInSearchMode: shouldExitSearchMode
+ ? false
+ : state.isInSearchMode,
});
}
}