mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
replaced eslint:recommended with prettier
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
import {compose} from 'react-apollo';
|
||||
import {excludeIf} from 'plugin-api/beta/client/hocs';
|
||||
import { compose } from 'react-apollo';
|
||||
import { excludeIf } from 'plugin-api/beta/client/hocs';
|
||||
import ToxicDetail from './ToxicDetail';
|
||||
import {isToxic} from '../utils';
|
||||
import { isToxic } from '../utils';
|
||||
|
||||
const enhance = compose(
|
||||
excludeIf(({comment: {toxicity, actions}}) => toxicity === null || isToxic(actions)),
|
||||
excludeIf(
|
||||
({ comment: { toxicity, actions } }) =>
|
||||
toxicity === null || isToxic(actions)
|
||||
)
|
||||
);
|
||||
|
||||
export default enhance(ToxicDetail);
|
||||
|
||||
Reference in New Issue
Block a user