Skip to content

Commit c9ebb06

Browse files
authored
fix(example): fix a typo selectShowSidenav (#2414)
1 parent a1a282d commit c9ebb06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/example-app/src/app/core/containers/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class AppComponent {
4343
* Selectors can be applied with the `select` operator which passes the state
4444
* tree to the provided selector
4545
*/
46-
this.showSidenav$ = this.store.pipe(select(fromRoot.selecthowSidenav));
46+
this.showSidenav$ = this.store.pipe(select(fromRoot.selectShowSidenav));
4747
this.loggedIn$ = this.store.pipe(select(fromAuth.selectLoggedIn));
4848
}
4949

projects/example-app/src/app/reducers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const selectLayoutState = createFeatureSelector<State, fromLayout.State>(
7272
fromLayout.layoutFeatureKey
7373
);
7474

75-
export const selecthowSidenav = createSelector(
75+
export const selectShowSidenav = createSelector(
7676
selectLayoutState,
7777
fromLayout.selectShowSidenav
7878
);

0 commit comments

Comments
 (0)