fix: It is possible to have a recent search item with no content, closes #3112

This commit is contained in:
Tom Moor
2022-02-17 22:45:30 -08:00
parent 9588ffc81e
commit 3d5bf56d09

View File

@@ -196,7 +196,7 @@ class Search extends React.Component<Props> {
@action
fetchResults = async () => {
if (this.query) {
if (this.query.trim()) {
const params = {
offset: this.offset,
limit: DEFAULT_PAGINATION_LIMIT,