mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
Refactor and pluginize comment details
This commit is contained in:
@@ -15,7 +15,7 @@ const enhance = compose(
|
||||
}
|
||||
}`,
|
||||
}),
|
||||
excludeIf(({comment: {toxicity}}) => toxicity === null),
|
||||
excludeIf(({comment: {toxicity}, more}) => !more || toxicity === null),
|
||||
);
|
||||
|
||||
export default enhance(ToxicDetail);
|
||||
|
||||
Reference in New Issue
Block a user