Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const mapStateToProps = (state, props) => ({
rating: getProductRating(state, props),
reviews: getProductReviews(state, props),
});
const mapStateToProps = (state, props) => ({
productId: getBaseProductId(state, props),
rating: getProductRating(state, props),
});
const mapStateToProps = (state, props) => ({
rating: getProductRating(state, props),
});
const mapStateToProps = state => ({
rating: getProductRating(state),
});
const mapStateToProps = state => ({
rating: getProductRating(state),
reviews: getProductReviews(state),
});