Update snippets/StarRating.md

Co-Authored-By: Chalarangelo <chalarangelo@gmail.com>
This commit is contained in:
Robert Mennell
2018-10-19 09:41:54 +03:00
committed by GitHub
parent 298ed51f63
commit f5f4d03f90

View File

@ -47,7 +47,7 @@ const StarRating = (function() {
onClick={this.handleClick}
onMouseOver={this.hoverOver}
>
{Array.from({ length: 5 }, (v, i) => i + 1).map(v => (
{Array.from({ length: 5 }, (v, i) => (
<Star
starId={v}
key={`star_${v} `}