From 6cbe962a5ff72779e510511d4654e864a6dffbb8 Mon Sep 17 00:00:00 2001 From: Emma Indal Date: Fri, 30 Sep 2022 15:01:33 +0200 Subject: [PATCH] Fixup storybook examples Co-authored-by: Camila Loiola Signed-off-by: Emma Indal --- .../SearchResultGroup.stories.tsx | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/plugins/search-react/src/components/SearchResultGroup/SearchResultGroup.stories.tsx b/plugins/search-react/src/components/SearchResultGroup/SearchResultGroup.stories.tsx index 588033a4a3..fab807dd84 100644 --- a/plugins/search-react/src/components/SearchResultGroup/SearchResultGroup.stories.tsx +++ b/plugins/search-react/src/components/SearchResultGroup/SearchResultGroup.stories.tsx @@ -296,24 +296,7 @@ export const WithCustomNoResultsComponent = () => { query={query} icon={} title="Documentation" - noResultsComponent="No results were found" - /> - - ); -}; - -export const DisableRenderingWithNoResults = () => { - const [query] = useState>({ - types: ['techdocs'], - }); - - return ( - - } - title="Documentation" - disableRenderingWithNoResults + noResultsComponent={} /> );