fix: Search params are not considered on first load

closes #3378
This commit is contained in:
Tom Moor
2022-04-14 17:50:20 -07:00
parent 7f58fbe71b
commit 0ecfa95efc

View File

@@ -55,7 +55,7 @@ class Search extends React.Component<Props> {
query: string = decodeURIComponentSafe(this.props.match.params.term || "");
@observable
params: URLSearchParams = new URLSearchParams();
params: URLSearchParams = new URLSearchParams(this.props.location.search);
@observable
offset = 0;