Ensure going to home page clears search filter

This commit is contained in:
Luminarys 2019-06-14 23:15:10 -07:00 committed by Drew DeVault
parent 585d465952
commit 9c252c7251

View File

@ -22,7 +22,7 @@ function render(props) {
>{text}</a>
</li>;
return <nav className="navbar navbar-light navbar-toggleable-xl">
<Link to="/" className="navbar-brand">receptor</Link>
<Link to="/" className="navbar-brand" onClick={e => update("")}>receptor</Link>
<div className="navbar-collapse collapse">
<ul className="navbar-nav mr-auto">
<li className="nav-item">