Files
Eventment/app/containers/Item/Item.js
2019-07-24 00:53:01 -04:00

17 lines
459 B
JavaScript

export const matchStateToProps = (state, ownProps) => {
const { item } = ownProps;
return {
description: item.get('description'),
donor: item.get('donor'),
end: item.get('end'),
id: item.get('id'),
images: item.get('images').toArray(),
start: item.get('start'),
startingPrice: item.get('startingPrice'),
subtitle: item.get('subtitle'),
title: item.get('title'),
type: item.get('type'),
};
};