Skip to content

armgit / ente

Public Imported from GitHub
0

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

style(photos):remove-search-tab-comments

Aswin Asokd672883c7496
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsx
index 44246bfa09..a6d0ee53ad 100644
--- a/web/apps/photos/src/components/SearchBar.tsx
+++ b/web/apps/photos/src/components/SearchBar.tsx
@@ -349,12 +349,10 @@ const SearchInput: React.FC<
>
<AsyncSelect
ref={selectRef}
- // A fresh value also refreshes react-select's filtered keyboard targets.
value={value ? [value] : []}
components={components}
styles={styles}
loadOptions={loadOptions}
- // Moving focus to a tab must not reload the current query.
cacheOptions={open}
filterOption={({ data }) =>
matchesSearchCategory(data, category)