Skip to content

Commit

Permalink
Added missing OnInit
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Jul 31, 2017
1 parent 9b2a717 commit 039abbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example-app/app/books/containers/collection-page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'rxjs/add/operator/let';
import { Component, ChangeDetectionStrategy } from '@angular/core';
import { Component, ChangeDetectionStrategy, OnInit } from '@angular/core';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs/Observable';

Expand Down Expand Up @@ -32,7 +32,7 @@ import { Book } from '../models/book';
`,
],
})
export class CollectionPageComponent {
export class CollectionPageComponent implements OnInit {
books$: Observable<Book[]>;

constructor(private store: Store<fromBooks.State>) {
Expand Down

0 comments on commit 039abbe

Please sign in to comment.