diff --git a/src/components/ChallengesComponent/index.js b/src/components/ChallengesComponent/index.js index d96f9850..06966a26 100644 --- a/src/components/ChallengesComponent/index.js +++ b/src/components/ChallengesComponent/index.js @@ -6,8 +6,7 @@ import PropTypes from 'prop-types' import Sticky from 'react-stickynode' import { Helmet } from 'react-helmet' import { Link } from 'react-router-dom' -import { CONNECT_APP_URL, DIRECT_PROJECT_URL } from '../../config/constants' - +import { CONNECT_APP_URL } from '../../config/constants' import { PrimaryButton } from '../Buttons' import ChallengeList from './ChallengeList' import styles from './ChallengesComponent.module.scss' @@ -36,31 +35,18 @@ const ChallengesComponent = ({
- {activeProject && activeProject.id && ( - - - - )} - {activeProject && activeProject.directProjectId && ( - - - +
+ { activeProject && activeProject.id && ( + + (View Project) + )}
-
{(activeProject && activeProject.id) ? (