Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(lint)

Aswin Asok036ea5498535
diff --git a/web/packages/new/photos/components/SearchBar.tsx b/web/packages/new/photos/components/SearchBar.tsx
index 70fbe3fd56..15fb12be51 100644
--- a/web/packages/new/photos/components/SearchBar.tsx
+++ b/web/packages/new/photos/components/SearchBar.tsx
@@ -289,16 +289,14 @@ const SearchInput: React.FC<Omit<SearchBarProps, "onShowSearchInput">> = ({
onBlur={handleBlur}
placeholder={t("search_hint")}
noOptionsMessage={({ inputValue }) =>
- inputValue
- ? t("no_results")
- : shouldShowEmptyState(inputValue)
- ? (
- <EmptyState
- onSelectPeople={handleSelectPeople}
- onSelectPerson={handleSelectPerson}
- />
- )
- : null
+ inputValue ? (
+ t("no_results")
+ ) : shouldShowEmptyState(inputValue) ? (
+ <EmptyState
+ onSelectPeople={handleSelectPeople}
+ onSelectPerson={handleSelectPerson}
+ />
+ ) : null
}
/>