diff --git a/apps/web/src/stories/SearchInput.stories.tsx b/apps/web/src/stories/SearchInput.stories.tsx index 60325540..7566ab6a 100644 --- a/apps/web/src/stories/SearchInput.stories.tsx +++ b/apps/web/src/stories/SearchInput.stories.tsx @@ -115,8 +115,8 @@ const SearchInputWithHooks = ({ action('onClear')(); }; - const handleSearch = (searchValue: string) => { - action('onSearch')(searchValue); + const handleSearch = (value?: string) => { + action('onSearch')(value); }; return (