From 3d5bf56d091ce3c7f769ee2572b3eb1b3c869efb Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 17 Feb 2022 22:45:30 -0800 Subject: [PATCH] fix: It is possible to have a recent search item with no content, closes #3112 --- app/scenes/Search/Search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scenes/Search/Search.tsx b/app/scenes/Search/Search.tsx index ebe99b2bb..9b21bdc1d 100644 --- a/app/scenes/Search/Search.tsx +++ b/app/scenes/Search/Search.tsx @@ -196,7 +196,7 @@ class Search extends React.Component { @action fetchResults = async () => { - if (this.query) { + if (this.query.trim()) { const params = { offset: this.offset, limit: DEFAULT_PAGINATION_LIMIT,