diff --git a/.codeclimate.yml b/.codeclimate.yml index 5bc809e1ee..7605f5db62 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -28,6 +28,9 @@ plugins: channel: "eslint-5" config: config: .eslintrc + checks: + prettier/prettier: + enabled: false ratings: paths: - app/** diff --git a/app/react/Review/components/OneUpEntityButtons.tsx b/app/react/Review/components/OneUpEntityButtons.tsx index 51f1aed6aa..db029c884f 100644 --- a/app/react/Review/components/OneUpEntityButtons.tsx +++ b/app/react/Review/components/OneUpEntityButtons.tsx @@ -19,17 +19,13 @@ export class OneUpEntityButtonsBase extends Component { render() { const { isPristine } = this.props; - + const btnClass = isPristine ? 'btn btn-default btn-disabled' : 'btn btn-default'; return (