Skip to content

Commit caefc58

Browse files
committed
refactor: rename RouterHistoryStore##findSourceNavigatedSequence
1 parent 16875ea commit caefc58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class RouterHistoryStore extends ComponentStore<RouterHistoryState> {
133133
return undefined;
134134
}
135135

136-
const [sourceNavigationStart] = this.#findNavigatedSource(
136+
const [sourceNavigationStart] = this.#findSourceNavigatedSequence(
137137
maxNavigatedId,
138138
history
139139
);
@@ -143,7 +143,7 @@ export class RouterHistoryStore extends ComponentStore<RouterHistoryState> {
143143
}
144144

145145
const previousNavigationId = sourceNavigationStart.id - 1;
146-
const [, previousNavigationEnd] = this.#findNavigatedSource(
146+
const [, previousNavigationEnd] = this.#findSourceNavigatedSequence(
147147
previousNavigationId,
148148
history
149149
);
@@ -189,7 +189,7 @@ export class RouterHistoryStore extends ComponentStore<RouterHistoryState> {
189189
* @param history The history to search.
190190
* @returns The source router navigated sequence.
191191
*/
192-
#findNavigatedSource(
192+
#findSourceNavigatedSequence(
193193
navigationId: number,
194194
history: RouterHistory
195195
): RouterNavigatedSequence {

0 commit comments

Comments
 (0)