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