diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.js b/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.js index 3613be4e567..5c826c2c302 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.js +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/DetailsContent.js @@ -17,12 +17,12 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import React, { Component } from 'react'; +import React from 'react'; import Conditions from './Conditions'; import Projects from './Projects'; import { translate } from '../../../helpers/l10n'; -export default class DetailsContent extends Component { +export default class DetailsContent extends React.PureComponent { render() { const { gate, canEdit, metrics } = this.props; const { onAddCondition, onDeleteCondition, onSaveCondition } = this.props; |