π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove double memo
Manav Rathi093c95263f5a
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsxindex 20eb512e24..8d204df5fb 100644--- a/web/apps/photos/src/components/SearchBar.tsx+++ b/web/apps/photos/src/components/SearchBar.tsx@@ -251,18 +251,11 @@ const SearchInput: React.FC<SearchInputProps> = ({refreshDefaultOptions();};- const MemoizedCustomMenu = useCallback(- (props: CustomMenuProps) => (- <CustomMenu {...props} setValue={setValue} selectRef={selectRef} />- ),- [setValue, selectRef],- );-const components = useMemo(() => ({Option: OptionWithInfo,ValueContainer: ValueContainerWithIcon,- Menu: MemoizedCustomMenu,+ Menu: CustomMenu,Input: VisibleInput,}),[],