Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
keelz committed Nov 21, 2018
1 parent 67c5ed9 commit 66cbb60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/redux/containers/Collection/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { connect } from 'react-redux';
import { IRootState } from '../../Types';
import Collection, { ICollectionStateProps } from '../../../components/Collection';
import { CardClassName } from '../../../common/models/Card';
import {
selectActiveCardClassName,
selectCardsForActiveClassName
} from '../../selectors/cards';

const mapStateToProps = (state: IRootState): ICollectionStateProps => ({
activeCardClassName: selectActiveCardClassName(state),
activeCardClassName: selectActiveCardClassName(state) as CardClassName,
collection: {
cards: selectCardsForActiveClassName(state),
},
Expand Down

0 comments on commit 66cbb60

Please sign in to comment.