mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 17:25:40 +03:00
Don't show toast when not on results page
This commit is contained in:
parent
f8b5e9563c
commit
3acfc00ec0
1 changed files with 2 additions and 0 deletions
|
@ -469,6 +469,7 @@ function Catchup() {
|
|||
}, [lastCatchupEndAt, range]);
|
||||
|
||||
useEffect(() => {
|
||||
if (uiState !== 'results') return;
|
||||
const filterCategoryText = {
|
||||
Filtered: 'filtered posts',
|
||||
Groups: 'group posts',
|
||||
|
@ -505,6 +506,7 @@ function Catchup() {
|
|||
toast?.hideToast?.();
|
||||
};
|
||||
}, [
|
||||
uiState,
|
||||
selectedFilterCategory,
|
||||
selectedAuthor,
|
||||
sortBy,
|
||||
|
|
Loading…
Reference in a new issue