diff --git a/src/Components/Blueprints/BlueprintsSideBar.tsx b/src/Components/Blueprints/BlueprintsSideBar.tsx index 5eea5a77..eaec4ed7 100644 --- a/src/Components/Blueprints/BlueprintsSideBar.tsx +++ b/src/Components/Blueprints/BlueprintsSideBar.tsx @@ -168,7 +168,11 @@ const BlueprintSearch = ({ blueprintsTotal }: blueprintSearchProps) => { }; }, [debouncedSearch]); const onChange = (value: string) => { - debouncedSearch(value); + if (value.length === 0) { + dispatch(setBlueprintSearchInput(undefined)); + } else { + debouncedSearch(value); + } }; return (