refactor(core): adjust effect api (#11935)

This commit is contained in:
EYHN
2025-04-24 10:06:11 +00:00
parent 1d38e5787b
commit eaa1bc6bf1
41 changed files with 79 additions and 146 deletions

View File

@@ -6,7 +6,7 @@ import {
LiveData,
Service,
} from '@toeverything/infra';
import { catchError, distinctUntilChanged, EMPTY, mergeMap } from 'rxjs';
import { catchError, distinctUntilChanged, EMPTY } from 'rxjs';
import type { NavigationGestureProvider } from '../providers/navigation-gesture';
@@ -35,7 +35,6 @@ export class NavigationGestureService extends Service {
}
return;
}).pipe(
mergeMap(() => EMPTY),
catchError(err => {
logger.error('navigationGestureProvider error', err);
return EMPTY;