@@ -64,7 +64,6 @@ import { getResourceRoleByName } from '../../util/tc'
6464import { isBetaMode } from '../../util/cookie'
6565import MilestoneField from './Milestone-Field'
6666import DiscussionField from './Discussion-Field'
67- import CheckpointPrizesField from './CheckpointPrizes-Field'
6867
6968const theme = {
7069 container : styles . modalContainer
@@ -953,7 +952,7 @@ class ChallengeEditor extends Component {
953952 async createNewChallenge ( ) {
954953 if ( ! this . props . isNew ) return
955954 const { metadata, createChallenge, projectDetail } = this . props
956- const { challenge : { name, trackId, typeId, milestoneId, roundType , challengeType, metadata : challengeMetadata } } = this . state
955+ const { challenge : { name, trackId, typeId, milestoneId, challengeType, metadata : challengeMetadata } } = this . state
957956 const { timelineTemplates } = metadata
958957 const isDesignChallenge = trackId === DES_TRACK_ID
959958 const isDataScience = trackId === DS_TRACK_ID
@@ -1568,7 +1567,6 @@ class ChallengeEditor extends Component {
15681567 const isMM = challenge . typeId === MARATHON_TYPE_ID
15691568 const isChallengeType = challenge . typeId === CHALLENGE_TYPE_ID
15701569 const showRoundType = isDesignChallenge && isChallengeType
1571- const showCheckpointPrizes = challenge . timelineTemplateId === MULTI_ROUND_CHALLENGE_TEMPLATE_ID
15721570 const showDashBoard = ( challenge . trackId === DS_TRACK_ID && isChallengeType ) || ( isDevChallenge && isMM )
15731571 const useDashboardData = _ . find ( challenge . metadata , { name : 'show_data_dashboard' } )
15741572 const useDashboard = useDashboardData ? useDashboardData . value : true
@@ -1780,11 +1778,6 @@ class ChallengeEditor extends Component {
17801778 removeAttachment = { removeAttachment }
17811779 /> }
17821780 < ChallengePrizesField challenge = { challenge } onUpdateOthers = { this . onUpdateOthers } />
1783- {
1784- showCheckpointPrizes && (
1785- < CheckpointPrizesField onUpdateOthers = { this . onUpdateOthers } challenge = { challenge } />
1786- )
1787- }
17881781 < CopilotFeeField challenge = { challenge } onUpdateOthers = { this . onUpdateOthers } />
17891782 < ChallengeTotalField challenge = { challenge } />
17901783 </ div >
0 commit comments