diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects/components/ProjectCardContainer.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/components/ProjectCardContainer.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/components/ProjectCardContainer.js b/server/sonar-web/src/main/js/apps/projects/components/ProjectCardContainer.js index f03bd24cc57..d3908234509 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/ProjectCardContainer.js +++ b/server/sonar-web/src/main/js/apps/projects/components/ProjectCardContainer.js @@ -21,9 +21,7 @@ import { connect } from 'react-redux'; import ProjectCard from './ProjectCard'; import { getComponent, getComponentMeasures } from '../../../store/rootReducer'; -export default connect( - (state, ownProps) => ({ - project: getComponent(state, ownProps.projectKey), - measures: getComponentMeasures(state, ownProps.projectKey) - }) -)(ProjectCard); +export default connect((state, ownProps) => ({ + project: getComponent(state, ownProps.projectKey), + measures: getComponentMeasures(state, ownProps.projectKey) +}))(ProjectCard); |