mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
refactor(core): adjust effect api (#11935)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user