From c9ebb06b616c8047b64ab61641c7b4c3bf6073f6 Mon Sep 17 00:00:00 2001 From: Hadrien TOMA Date: Wed, 26 Feb 2020 10:35:45 +0100 Subject: [PATCH] fix(example): fix a typo selectShowSidenav (#2414) --- projects/example-app/src/app/core/containers/app.component.ts | 2 +- projects/example-app/src/app/reducers/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/example-app/src/app/core/containers/app.component.ts b/projects/example-app/src/app/core/containers/app.component.ts index 4450b8efeb..1dd89c0978 100644 --- a/projects/example-app/src/app/core/containers/app.component.ts +++ b/projects/example-app/src/app/core/containers/app.component.ts @@ -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)); } diff --git a/projects/example-app/src/app/reducers/index.ts b/projects/example-app/src/app/reducers/index.ts index ce76a4907a..39673e2ebd 100644 --- a/projects/example-app/src/app/reducers/index.ts +++ b/projects/example-app/src/app/reducers/index.ts @@ -72,7 +72,7 @@ export const selectLayoutState = createFeatureSelector( fromLayout.layoutFeatureKey ); -export const selecthowSidenav = createSelector( +export const selectShowSidenav = createSelector( selectLayoutState, fromLayout.selectShowSidenav );