1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Remove duplicate onRatingClick missed during merge

This commit is contained in:
Brett Sun 2016-01-19 15:59:43 +01:00
parent d0d4f773c8
commit 2e8d1faaca

View File

@ -296,13 +296,6 @@ let PrizePieceRatings = React.createClass({
} }
}, },
onRatingClick(event, args) {
event.preventDefault();
PrizeRatingActions.createRating(this.props.piece.id, args.rating).then(
this.refreshPieceData()
);
},
onRatingClick(event, args) { onRatingClick(event, args) {
event.preventDefault(); event.preventDefault();
PrizeRatingActions PrizeRatingActions