From 2e8d1faaca9c0876a0069ce7c48f267bd210d7db Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Tue, 19 Jan 2016 15:59:43 +0100 Subject: [PATCH] Remove duplicate onRatingClick missed during merge --- .../components/ascribe_detail/prize_piece_container.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/js/components/whitelabel/prize/simple_prize/components/ascribe_detail/prize_piece_container.js b/js/components/whitelabel/prize/simple_prize/components/ascribe_detail/prize_piece_container.js index 63bc0aec..bdaf385d 100644 --- a/js/components/whitelabel/prize/simple_prize/components/ascribe_detail/prize_piece_container.js +++ b/js/components/whitelabel/prize/simple_prize/components/ascribe_detail/prize_piece_container.js @@ -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) { event.preventDefault(); PrizeRatingActions