Skip to content

Commit cc6f3b4

Browse files
committed
fix: lint
1 parent ebd9571 commit cc6f3b4

File tree

1 file changed

+2
-1
lines changed
  • src/shared/components/challenge-detail/Specification

1 file changed

+2
-1
lines changed

src/shared/components/challenge-detail/Specification/index.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default function ChallengeDetailsView(props) {
5454
const phase = phases.find(item => item.name === phaseName);
5555
const scoreCardConstraint = phase && phase.constraints && phase.constraints.find(item => item.name === 'Scorecard');
5656
return scoreCardConstraint ? scoreCardConstraint.value : '';
57-
}
57+
};
5858

5959
const roles = (userDetails || {}).roles || [];
6060
const {
@@ -429,6 +429,7 @@ ChallengeDetailsView.propTypes = {
429429
}),
430430
metadata: PT.array,
431431
events: PT.arrayOf(PT.string),
432+
phases: PT.arrayOf(PT.any),
432433
}),
433434
challengesUrl: PT.string.isRequired,
434435
communitiesList: PT.arrayOf(PT.shape({

0 commit comments

Comments
 (0)