Skip to content

Commit

Permalink
Adds the search page component and an API route for searching authors…
Browse files Browse the repository at this point in the history
… and articles in the same query — issue #55
  • Loading branch information
mickaobrien committed Aug 19, 2019
1 parent 8b2a71d commit c563628
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/HomePageFilter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ class HomePageFilter extends React.PureComponent {
menu_styles = {left: 0}
}

const { menu_content_filters, menu_transparency_filters } = this.state

return (
<Grid className={classes.menuRoot}>
<ClickAwayListener onClickAway={this.close_menu}>
Expand Down
5 changes: 5 additions & 0 deletions src/components/SortArticlesButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,14 @@ class SortBy extends React.PureComponent {
<Button
onClick={this.handle_menu_click}
size="large"
<<<<<<< 8b2a71d97928c2cad5d58bda04f5e5c940c49f31
style={{color: "#999"}}
>
<Icon className={classes.leftIcon}>sort</Icon>
=======
>
<Icon>sort</Icon>
>>>>>>> Adds the search page component and an API route for searching authors and articles in the same query issue #55
Sort by { sorted_by ? <span>: { sorted_by }</span> : null }
</Button>
{ menu_open ? (
Expand Down

0 comments on commit c563628

Please sign in to comment.