Skip to content

Commit

Permalink
Update test repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ekeric13 committed Jun 12, 2018
1 parent 95e2eae commit 07add0e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
38 changes: 19 additions & 19 deletions test/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"react": "^16.1.0",
"react-dom": "^16.1.0",
"react-scripts": "1.0.17",
"react-star-ratings": "2.1.0"
"react-star-ratings": "2.3.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
5 changes: 3 additions & 2 deletions test/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';

// import StarRatings from 'react-star-ratings';
import StarRatings from './star-ratings';
import StarRatings from 'react-star-ratings';
// import StarRatings from './star-ratings';

class App extends Component {
constructor(props) {
Expand All @@ -16,6 +16,7 @@ class App extends Component {
}

changeRating(rating, name) {
console.log('these two', rating, name);
this.setState({
rating: rating
})
Expand Down

0 comments on commit 07add0e

Please sign in to comment.