diff --git a/www/src/components/plugin-searchbar-body.js b/www/src/components/plugin-searchbar-body.js index 66213439521d2..7df01bede72a7 100644 --- a/www/src/components/plugin-searchbar-body.js +++ b/www/src/components/plugin-searchbar-body.js @@ -301,14 +301,14 @@ class Search extends Component { } // the result component is fed into the InfiniteHits component -const Result = ({ hit, pathname, search }) => { +const Result = ({ hit, pathname, query }) => { // Example: // pathname = `/plugins/gatsby-link/` || `/plugins/@comsoc/gatsby-mdast-copy-linked-files` // hit.name = `gatsby-link` || `@comsoc/gatsby-mdast-copy-linked-files` const selected = pathname.includes(hit.name) return (