@@ -236,6 +236,7 @@ class ChallengeEditor extends Component {
236236 const {
237237 match,
238238 isLoading,
239+ isBillingAccountExpired,
239240 isProjectLoading,
240241 // challengeDetails,
241242 challengeResources,
@@ -316,6 +317,7 @@ class ChallengeEditor extends Component {
316317 < ChallengeEditorComponent
317318 isLoading = { isLoading }
318319 challengeDetails = { challengeDetails }
320+ isBillingAccountExpired = { isBillingAccountExpired }
319321 challengeResources = { challengeResources }
320322 metadata = { metadata }
321323 projectId = { _ . get ( match . params , 'projectId' , null ) }
@@ -343,6 +345,7 @@ class ChallengeEditor extends Component {
343345 render = { ( { match } ) => ( (
344346 < ChallengeEditorComponent
345347 isLoading = { isLoading }
348+ isBillingAccountExpired = { isBillingAccountExpired }
346349 challengeDetails = { challengeDetails }
347350 challengeResources = { challengeResources }
348351 metadata = { metadata }
@@ -371,6 +374,7 @@ class ChallengeEditor extends Component {
371374 render = { ( { match } ) => ( (
372375 < ChallengeViewComponent
373376 isLoading = { isLoading }
377+ isBillingAccountExpired = { isBillingAccountExpired }
374378 metadata = { metadata }
375379 projectDetail = { projectDetail }
376380 challenge = { challengeDetails }
@@ -418,6 +422,7 @@ ChallengeEditor.propTypes = {
418422 challengeTypes : PropTypes . array
419423 } ) ,
420424 isLoading : PropTypes . bool ,
425+ isBillingAccountExpired : PropTypes . bool ,
421426 createAttachments : PropTypes . func ,
422427 attachments : PropTypes . arrayOf ( PropTypes . shape ( ) ) ,
423428 token : PropTypes . string ,
@@ -441,6 +446,7 @@ const mapStateToProps = ({ projects, challenges: { challengeDetails, challengeRe
441446 challengeResources,
442447 metadata,
443448 isLoading,
449+ isBillingAccountExpired : projects . isBillingAccountExpired ,
444450 isProjectLoading : projects . isLoading ,
445451 attachments,
446452 token,
0 commit comments