Update snippets/StarRating.md

Co-Authored-By: Chalarangelo <chalarangelo@gmail.com>
This commit is contained in:
Robert Mennell
2018-10-19 09:42:04 +03:00
committed by GitHub
parent f18afec7b7
commit 014df42f62

View File

@ -50,7 +50,7 @@ const StarRating = (function() {
{Array.from({ length: 5 }, (v, i) => (
<Star
starId={i+1}
key={`star_${v} `}
key={`star_${i+1} `}
marked={
this.state.selection
? this.state.selection >= v