Skip to content

Commit

Permalink
feat(details): remove approves/dislikes count from details
Browse files Browse the repository at this point in the history
  • Loading branch information
JalilArfaoui committed Feb 8, 2019
1 parent 3b89dae commit 7319f25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/organisms/NoticeDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class NoticeDetails extends PureComponent {

render() {
const {
type, date, message, contributor, source, approves, dislikes, approved
type, date, message, contributor, source, approved
} = this.props;

return (
Expand Down Expand Up @@ -99,11 +99,9 @@ class NoticeDetails extends PureComponent {
<Feedbacks>
<Button onClick={this.handleApprove}>
<Approval active={approved === true} />
{approves}
</Button>
<Button onClick={this.handleDisapprove}>
<Disapproval active={approved === false} />
{dislikes}
</Button>
</Feedbacks>

Expand Down

0 comments on commit 7319f25

Please sign in to comment.