Skip to content

Commit

Permalink
fix(search): set default empty string for query
Browse files Browse the repository at this point in the history
  • Loading branch information
HipsterBrown committed May 2, 2018
1 parent 82b90ca commit a0dd06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SearchPage extends React.Component {
return {
limit: query.limit || 20,
offset: query.offset || 0,
term: query.q,
term: query.q || '',
};
}

Expand Down

0 comments on commit a0dd06b

Please sign in to comment.