- Linting... Prettier...

This commit is contained in:
2019-08-07 01:59:10 -04:00
parent 3dc8589fb4
commit 847c9b192a
102 changed files with 2161 additions and 2109 deletions

View File

@@ -5,12 +5,15 @@ import { getItemBidCount, getItemPrice } from '../../selectors/auctions.js';
import AuctionPriceAndBidCount from '../../components/Auction/AuctionPriceAndBidCount.js';
function mapStateToProps(state, ownProps) {
const { itemId } = ownProps;
const { itemId } = ownProps;
return {
bidCount: getItemBidCount(state, itemId),
currentPrice: getItemPrice(state, itemId),
};
return {
bidCount: getItemBidCount(state, itemId),
currentPrice: getItemPrice(state, itemId),
};
}
export default connect(mapStateToProps, null)(AuctionPriceAndBidCount);
export default connect(
mapStateToProps,
null,
)(AuctionPriceAndBidCount);