Skip to content

Commit

Permalink
Improve highlighting a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Feb 17, 2019
1 parent 581d191 commit c50c048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const IndexPage = () => {
const [term, setTerm] = useState("");
const search = term.trim();
const results = findHooks(search, sortedHooks);
const tagsToSearch = search === "#" ? ["#"] : [search.replace("#", "")];
const tagsToSearch = search === "#" ? ["#"] : [search, search.replace("#", "")];

return (
<Layout>
Expand Down

0 comments on commit c50c048

Please sign in to comment.