Skip to content

Commit bef57f1

Browse files
committed
docs(state): minor change
1 parent ab3dfe8 commit bef57f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/docs/docs/state/setup.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import { RxFor } from '@rx-angular/template/for';
5757
imports: [RxFor],
5858
})
5959
export class MovieListComponent {
60-
private store = inject(Store<MovieState>);
60+
private store = inject<Store<MovieState>>(Store);
6161

6262
private state = rxState<{ movies: Movie[] }>(({ set, connect }) => {
6363
// set initial state
@@ -286,7 +286,7 @@ import { RxFor } from '@rx-angular/template/for';
286286
imports: [RxFor, ReactiveFormsModule],
287287
})
288288
export class MovieListComponent {
289-
private store = inject(Store<MovieState>);
289+
private store = inject<Store<MovieState>>(Store);
290290

291291
search = new FormControl<string>();
292292

@@ -333,7 +333,7 @@ import { RxFor } from '@rx-angular/template/for';
333333
imports: [RxFor, ReactiveFormsModule],
334334
})
335335
export class MovieListComponent {
336-
private store = inject(Store<MovieState>);
336+
private store = inject<Store<MovieState>>(Store);
337337

338338
search = new FormControl<string>();
339339

0 commit comments

Comments
 (0)