Refactor and pluginize comment details

This commit is contained in:
Chi Vinh Le
2017-09-29 19:42:44 +07:00
parent 5d718f6dd4
commit f9693c7154
37 changed files with 486 additions and 302 deletions
@@ -15,7 +15,7 @@ const enhance = compose(
}
}`,
}),
excludeIf(({comment: {toxicity}}) => toxicity === null),
excludeIf(({comment: {toxicity}, more}) => !more || toxicity === null),
);
export default enhance(ToxicDetail);