Skip to content

Commit

Permalink
fix: remove console
Browse files Browse the repository at this point in the history
  • Loading branch information
phatnguyenuit committed Feb 27, 2021
1 parent dd8e8ed commit 88c1625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"plugin:prettier/recommended"
],
"rules": {
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }]
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }],
"no-console": "error"
}
}
1 change: 0 additions & 1 deletion src/containers/dice-game/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import storage from 'services/storage';

const getLastAmount = () => {
const lastAmount = storage.getItem('amount');
console.log('lastAmount', lastAmount);
return lastAmount ? Number(lastAmount) : initiateAmount();
};

Expand Down

1 comment on commit 88c1625

@vercel
Copy link

@vercel vercel bot commented on 88c1625 Feb 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.