Skip to content

Commit aee9dbc

Browse files
committed
Lint
1 parent 3482fcc commit aee9dbc

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ export default function ChallengeHeader(props) {
8080
status,
8181
type,
8282
track,
83-
metadata
83+
metadata,
8484
} = challenge;
8585

8686
// Determine if a challenge is for Topcrowd so we can edit the UI accordingly
8787
// CORE-292
8888
let isTopCrowdChallenge = false;
89-
let topcrowdLink = "";
89+
let topcrowdLink = '';
9090
const isTopCrowdChallengeData = _.find(metadata, { name: 'is_platform' });
9191
if (isTopCrowdChallengeData) {
9292
isTopCrowdChallenge = isTopCrowdChallengeData.value;
@@ -439,7 +439,9 @@ export default function ChallengeHeader(props) {
439439
<PrimaryButton
440440
disabled={registerButtonDisabled}
441441
theme={{
442-
button: registerButtonDisabled ? style.submitButtonDisabled : style.registerBtn,
442+
button: registerButtonDisabled
443+
? style.submitButtonDisabled
444+
: style.registerBtn,
443445
}}
444446
forceA
445447
onClick={registerForChallenge}
@@ -581,6 +583,7 @@ ChallengeHeader.propTypes = {
581583
roundId: PT.any,
582584
prizeSets: PT.any,
583585
match_skills: PT.arrayOf(PT.string),
586+
metadata: PT.any,
584587
}).isRequired,
585588
challengesUrl: PT.string.isRequired,
586589
hasRegistered: PT.bool.isRequired,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ export default function ChallengeDetailsView(props) {
424424
reviewScorecardId={reviewScorecardId}
425425
screeningScorecardId={screeningScorecardId}
426426
/>
427-
) : (<div></div>) }
427+
) : (<div />) }
428428
</div>
429429
</div>
430430
);

0 commit comments

Comments
 (0)