Skip to content

Commit

Permalink
Fixing bug
Browse files Browse the repository at this point in the history
- Fixed liar found & not found button
  • Loading branch information
withoutwax committed Aug 24, 2019
1 parent a6a7912 commit 8f261a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "liar-game",
"version": "1.2.0",
"version": "1.2.1",
"private": true,
"homepage": "https://withoutwax.github.io/Liar-Game/",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Finish.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Finish extends React.Component {
});
}
componentDidMount = () => {
if (this.state.liarStatus === "not-found"){
if (this.state.liarStatus === "found"){
const chosenTheme = {
"food": require('../data/food.json'),
"place": require('../data/place.json'),
Expand Down

0 comments on commit 8f261a9

Please sign in to comment.