Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
omergulen committed Oct 14, 2018
1 parent cc2c526 commit d973de6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions RateModal.js
Expand Up @@ -12,11 +12,8 @@ import PropTypes from "prop-types";
import DataStore from "./DataStore";

RateModal.propTypes = {

rateUsText: PropTypes.string,

onPress: PropTypes.func,

onPress: PropTypes.func.isRequired,
showFrequency: PropTypes.number,
firstShow: PropTypes.number,
defaultColor: PropTypes.string,
Expand Down Expand Up @@ -78,7 +75,7 @@ export default class RateModal extends Component {
}

starPressed(count) {

DataStore.setRated();

this.setState({activeStar: count});
Expand Down

0 comments on commit d973de6

Please sign in to comment.