@@ -236,6 +236,7 @@ class ChallengeEditor extends Component {
236
236
const {
237
237
match,
238
238
isLoading,
239
+ isBillingAccountExpired,
239
240
isProjectLoading,
240
241
// challengeDetails,
241
242
challengeResources,
@@ -316,6 +317,7 @@ class ChallengeEditor extends Component {
316
317
< ChallengeEditorComponent
317
318
isLoading = { isLoading }
318
319
challengeDetails = { challengeDetails }
320
+ isBillingAccountExpired = { isBillingAccountExpired }
319
321
challengeResources = { challengeResources }
320
322
metadata = { metadata }
321
323
projectId = { _ . get ( match . params , 'projectId' , null ) }
@@ -343,6 +345,7 @@ class ChallengeEditor extends Component {
343
345
render = { ( { match } ) => ( (
344
346
< ChallengeEditorComponent
345
347
isLoading = { isLoading }
348
+ isBillingAccountExpired = { isBillingAccountExpired }
346
349
challengeDetails = { challengeDetails }
347
350
challengeResources = { challengeResources }
348
351
metadata = { metadata }
@@ -371,6 +374,7 @@ class ChallengeEditor extends Component {
371
374
render = { ( { match } ) => ( (
372
375
< ChallengeViewComponent
373
376
isLoading = { isLoading }
377
+ isBillingAccountExpired = { isBillingAccountExpired }
374
378
metadata = { metadata }
375
379
projectDetail = { projectDetail }
376
380
challenge = { challengeDetails }
@@ -418,6 +422,7 @@ ChallengeEditor.propTypes = {
418
422
challengeTypes : PropTypes . array
419
423
} ) ,
420
424
isLoading : PropTypes . bool ,
425
+ isBillingAccountExpired : PropTypes . bool ,
421
426
createAttachments : PropTypes . func ,
422
427
attachments : PropTypes . arrayOf ( PropTypes . shape ( ) ) ,
423
428
token : PropTypes . string ,
@@ -441,6 +446,7 @@ const mapStateToProps = ({ projects, challenges: { challengeDetails, challengeRe
441
446
challengeResources,
442
447
metadata,
443
448
isLoading,
449
+ isBillingAccountExpired : projects . isBillingAccountExpired ,
444
450
isProjectLoading : projects . isLoading ,
445
451
attachments,
446
452
token,
0 commit comments