Skip to content

Commit

Permalink
refactor: remove Component Store lifecycle support
Browse files Browse the repository at this point in the history
  • Loading branch information
LayZeeDK committed May 23, 2023
1 parent 23295c3 commit b284f43
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
NavigationStart,
Router,
} from '@angular/router';
import { ComponentStore, provideComponentStore } from '@ngrx/component-store';
import { ComponentStore } from '@ngrx/component-store';
import { filter, map, Observable, pipe, switchMap, take, tap } from 'rxjs';
import { filterRouterEvents } from '../filter-router-event.operator';
import { isPopstateNavigationStart } from './popstate-navigation-start';
Expand Down Expand Up @@ -52,7 +52,7 @@ interface RouterHistoryState {
*/
export function provideRouterHistoryStore(): EnvironmentProviders {
return makeEnvironmentProviders([
provideComponentStore(RouterHistoryStore),
RouterHistoryStore,
routerHistoryStoreInitializer,
]);
}
Expand Down

0 comments on commit b284f43

Please sign in to comment.