From e3b178d007ca401604aff451d74c5b223228b9cd Mon Sep 17 00:00:00 2001 From: Felix Lemke Date: Wed, 17 Jun 2020 13:01:11 +0200 Subject: [PATCH] docs(component-store): fix movies$ observable assignment (#2587) --- projects/ngrx.io/content/guide/component-store/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), );