Skip to content

Commit b1807a0

Browse files
committed
refactor: remove unnecessary selector debouncing
1 parent 370d3f8 commit b1807a0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/router-component-store/src/lib/router-history-store/router-history.store.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,7 @@ export class RouterHistoryStore extends ComponentStore<RouterHistoryState> {
116116
this.select(
117117
this.#maxNavigatedId$,
118118
this.#history$,
119-
(maxNavigatedId, history) => history[maxNavigatedId],
120-
{
121-
debounce: true,
122-
}
119+
(maxNavigatedId, history) => history[maxNavigatedId]
123120
);
124121

125122
/**
@@ -159,9 +156,6 @@ export class RouterHistoryStore extends ComponentStore<RouterHistoryState> {
159156
);
160157

161158
return previousNavigationEnd.urlAfterRedirects;
162-
},
163-
{
164-
debounce: true,
165159
}
166160
);
167161

0 commit comments

Comments
 (0)