Skip to content

Commit

Permalink
Fix Book State interface parent
Browse files Browse the repository at this point in the history
State in Book should inherit from root, not books.
  • Loading branch information
karptonite authored Jul 18, 2017
1 parent e3143c2 commit 28f0c8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example-app/app/books/reducers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ import {
import * as fromSearch from './search';
import * as fromBooks from './books';
import * as fromCollection from './collection';
import * as fromRoot from '../../reducers';

export interface BooksState {
search: fromSearch.State;
books: fromBooks.State;
collection: fromCollection.State;
}

export interface State extends fromBooks.State {
export interface State extends fromRoot.State {
'books': BooksState;
}

Expand Down

0 comments on commit 28f0c8d

Please sign in to comment.