"Don't agree" is not a flag action

This commit is contained in:
Chi Vinh Le
2017-08-01 00:37:18 +07:00
parent 665bf5b102
commit 62a559b6fc
@@ -91,7 +91,7 @@ export default class FlagButton extends Component {
reason: null,
message
};
if (reason === 'I don\'t agree with this comment') {
if (reason === 'COMMENT_NOAGREE') {
postDontAgree(action)
.then(({data}) => {
if (itemType === 'COMMENTS') {