diff --git a/projects/ngrx.io/content/guide/component-store/index.md b/projects/ngrx.io/content/guide/component-store/index.md index ed19827a2b..f030267139 100644 --- a/projects/ngrx.io/content/guide/component-store/index.md +++ b/projects/ngrx.io/content/guide/component-store/index.md @@ -34,7 +34,7 @@ ComponentStore can be initialized in 2 ways: providers: [ComponentStore], }) export class MoviesPageComponent { - movies$: this.componentStore.state$.pipe( + movies$ = this.componentStore.state$.pipe( map(state => state.movies), );