Skip to content

Commit 760adc5

Browse files
committed
Lint and cleanup
1 parent 8a1922d commit 760adc5

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@ export default function ChallengeHeader(props) {
452452
disabled={disabled}
453453
theme={{ button: disabled ? style.submitButtonDisabled : style.submitButton }}
454454
to={`${challengesUrl}/${challengeId}/submit`}
455+
forceA
455456
>
456457
<IconsUpload />
457458
<span>Submit a solution</span>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { config } from 'topcoder-react-utils';
1111
import TooltipIcon from 'assets/images/tooltip-info.svg';
1212
import EligibleEvents from './EligibleEvents';
1313

14-
import ShareSocial from './ShareSocial';
14+
//import ShareSocial from './ShareSocial';
1515

1616
import styles from './styles.scss';
1717

@@ -20,7 +20,7 @@ export default function SideBar({
2020
legacyId,
2121
documents,
2222
eventDetail,
23-
shareable,
23+
//shareable,
2424
forumLink,
2525
discuss,
2626
hasRegistered,
@@ -542,7 +542,7 @@ SideBar.propTypes = {
542542
description: PT.string.isRequired,
543543
}),
544544
documents: PT.arrayOf(PT.shape()),
545-
shareable: PT.bool.isRequired,
545+
//shareable: PT.bool.isRequired,
546546
forumLink: PT.string.isRequired,
547547
discuss: PT.arrayOf(PT.shape()),
548548
hasRegistered: PT.bool,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ export default function ChallengeDetailsView(props) {
407407
eventDetail={_.isEmpty(events) ? null : events[0]}
408408
isMM={isMM(challenge)}
409409
terms={terms}
410-
shareable={_.isEmpty(groups)}
410+
//shareable={_.isEmpty(groups)}
411411
environment={environment}
412412
codeRepo={codeRepo}
413413
metadata={metadata}

src/shared/components/tc-communities/communities/iot/AssetDetail/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import PT from 'prop-types';
1010
import { PrimaryButton } from 'topcoder-react-ui-kit';
1111

1212
import JoinSection from '../JoinSection';
13-
import ShareSocial from './ShareSocial';
13+
//import ShareSocial from './ShareSocial';
1414
import './styles.scss';
1515

1616
import assetsData from '../Assets/data/predix-assets.json';

src/shared/containers/challenge-listing/Listing/index.jsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -687,11 +687,6 @@ export class ListingContainer extends React.Component {
687687
reviewOpportunities={reviewOpportunities}
688688
setFilterState={(state) => {
689689
setFilter(state);
690-
// if (activeBucket === BUCKETS.SAVED_FILTER) {
691-
// selectBucket(BUCKETS.OPEN_FOR_REGISTRATION);
692-
// } else if (activeBucket === BUCKETS.SAVED_REVIEW_OPPORTUNITIES_FILTER) {
693-
// selectBucket(BUCKETS.REVIEW_OPPORTUNITIES);
694-
// }
695690
}}
696691
setSort={setSort}
697692
sorts={sorts}

0 commit comments

Comments
 (0)