Skip to content

Commit

Permalink
fix(): fix a typo in app reducers - showSidenav selector
Browse files Browse the repository at this point in the history
Fix the typo by replacing selecthowSidenav by selectShowSidenav
  • Loading branch information
hadrien-toma committed Feb 26, 2020
1 parent a1a282d commit 56046b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class AppComponent {
* Selectors can be applied with the `select` operator which passes the state
* tree to the provided selector
*/
this.showSidenav$ = this.store.pipe(select(fromRoot.selecthowSidenav));
this.showSidenav$ = this.store.pipe(select(fromRoot.selectShowSidenav));
this.loggedIn$ = this.store.pipe(select(fromAuth.selectLoggedIn));
}

Expand Down
2 changes: 1 addition & 1 deletion projects/example-app/src/app/reducers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const selectLayoutState = createFeatureSelector<State, fromLayout.State>(
fromLayout.layoutFeatureKey
);

export const selecthowSidenav = createSelector(
export const selectShowSidenav = createSelector(
selectLayoutState,
fromLayout.selectShowSidenav
);

0 comments on commit 56046b4

Please sign in to comment.