diff --git a/web/app/components/plugins/marketplace/search-box/index.tsx b/web/app/components/plugins/marketplace/search-box/index.tsx index 0bc214ae1a..c398964b4e 100644 --- a/web/app/components/plugins/marketplace/search-box/index.tsx +++ b/web/app/components/plugins/marketplace/search-box/index.tsx @@ -19,6 +19,7 @@ type SearchBoxProps = { usedInMarketplace?: boolean onShowAddCustomCollectionModal?: () => void onAddedCustomTool?: () => void + autoFocus?: boolean } const SearchBox = ({ search, @@ -32,6 +33,7 @@ const SearchBox = ({ usedInMarketplace = false, supportAddCustomTool, onShowAddCustomCollectionModal, + autoFocus = false, }: SearchBoxProps) => { return (
@@ -82,11 +84,12 @@ const SearchBox = ({ { !usedInMarketplace && ( <> -
+
= ({
e.stopPropagation()}> {activeTab === TabsEnum.Start && ( = ({ )} {activeTab === TabsEnum.Tools && (