diff --git a/src/frontend/src/pages/MainPage/components/myCollectionComponent/components/inputSearchComponent/index.tsx b/src/frontend/src/pages/MainPage/components/myCollectionComponent/components/inputSearchComponent/index.tsx index 898ad84a8..7b7634118 100644 --- a/src/frontend/src/pages/MainPage/components/myCollectionComponent/components/inputSearchComponent/index.tsx +++ b/src/frontend/src/pages/MainPage/components/myCollectionComponent/components/inputSearchComponent/index.tsx @@ -22,14 +22,8 @@ const InputSearchComponent = ({ }: InputSearchComponentProps) => { const pagePath = window.location.pathname; const allFlows = useFlowsManagerStore((state) => state.allFlows); - const searchFlowsComponents = useFlowsManagerStore( - (state) => state.searchFlowsComponents, - ); - const disableInputSearch = - loading || - !allFlows || - (allFlows?.length === 0 && searchFlowsComponents === ""); + const disableInputSearch = loading || !allFlows; const getSearchPlaceholder = () => { if (pagePath.includes("flows")) {