diff --git a/src/components/IOBanner.js b/src/components/IOBanner.js index 60e4f58d..37e688cf 100644 --- a/src/components/IOBanner.js +++ b/src/components/IOBanner.js @@ -6,12 +6,12 @@ import bannerOverlayLeft from '../images/io-banner/banner-style-left.svg'; import { SearchInput } from '@newrelic/gatsby-theme-newrelic'; import { QUICKSTARTS_COLLAPSE_BREAKPOINT } from '@data/constants'; -const BannerHeaderContent = ({ search, handleSearch }) => { - const updateSearch = (e) => { - const value = e.target.value; - handleSearch(value); - }; - +const BannerHeaderContent = ({ + search, + updateSearch, + handleSearch, + clearParam, +}) => { return (