summaryrefslogtreecommitdiffstats
path: root/ui/src/components/search.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/search.tsx')
-rw-r--r--ui/src/components/search.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/src/components/search.tsx b/ui/src/components/search.tsx
index c14f2448..a02f035f 100644
--- a/ui/src/components/search.tsx
+++ b/ui/src/components/search.tsx
@@ -109,7 +109,6 @@ export class Search extends Component<any, SearchState> {
nextProps.history.action == 'POP' ||
nextProps.history.action == 'PUSH'
) {
- this.state = this.emptyState;
this.state.q = this.getSearchQueryFromProps(nextProps);
this.state.type_ = this.getSearchTypeFromProps(nextProps);
this.state.sort = this.getSortTypeFromProps(nextProps);