Change publish link in empty search results to point to Publish page

This commit is contained in:
Alex Liebowitz 2016-08-03 05:55:53 -04:00
parent 00524f5554
commit 25e9eff7f2

View file

@ -34,7 +34,7 @@ var SearchNoResults = React.createClass({
return ( return (
<section style={searchNoResultsStyle}> <section style={searchNoResultsStyle}>
<span style={searchNoResultsMessageStyle}>No one has checked anything in for {this.props.query} yet.</span> <span style={searchNoResultsMessageStyle}>No one has checked anything in for {this.props.query} yet.</span>
<Link label="Be the first" href="javascript:alert('aww I do nothing')" /> <Link label="Be the first" href="?publish" />
</section> </section>
); );
} }