17 lines
459 B
JavaScript
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'),
|
|
};
|
|
};
|