fix: banner text click not work (#104)

* fix: banner text click not work

* fix: replenish duration

Co-authored-by: boojack <stevenlgtm@gmail.com>

Co-authored-by: boojack <stevenlgtm@gmail.com>
This commit is contained in:
Hyoban 2022-07-06 11:22:19 +08:00 committed by GitHub
parent 5a20db0bed
commit e202d7b8d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,15 @@ const locationService = {
}, },
clearQuery: () => { clearQuery: () => {
store.dispatch(setQuery({})); store.dispatch(
setQuery({
tag: undefined,
type: undefined,
duration: undefined,
text: undefined,
shortcutId: undefined,
})
);
updateLocationUrl(); updateLocationUrl();
}, },