fixed search button reloading the page
This commit is contained in:
parent
7a57055b93
commit
2f17524e93
1 changed files with 3 additions and 3 deletions
|
@ -102,13 +102,13 @@ export default class Navbar extends React.Component {
|
||||||
</ReactTooltip>
|
</ReactTooltip>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<StyledALink
|
<StyledLink
|
||||||
data-tip
|
data-tip
|
||||||
data-for="search"
|
data-for="search"
|
||||||
href={`${process.env.PUBLIC_URL}/explore`}
|
to={`${process.env.PUBLIC_URL}/explore`}
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faSearch} />
|
<FontAwesomeIcon icon={faSearch} />
|
||||||
</StyledALink>
|
</StyledLink>
|
||||||
{!isMobile && (
|
{!isMobile && (
|
||||||
<ReactTooltip id="search" type="dark" effect="solid">
|
<ReactTooltip id="search" type="dark" effect="solid">
|
||||||
<span>Search</span>
|
<span>Search</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue