We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d018e13 + cfa8d35 commit beb313dCopy full SHA for beb313d
src/components/ChallengeEditor/Copilot-Field/index.js
@@ -35,7 +35,7 @@ const CopilotField = ({ copilots, challenge, onUpdateOthers, readOnly }) => {
35
}
36
</div>
37
38
- {!readOnly && challenge.submitTriggered && parseInt(copilotFee.prizes[0].value) > 0 && !selectedCopilot && (
+ {!readOnly && challenge.submitTriggered && copilotFee && parseInt(copilotFee.prizes[0].value) > 0 && !selectedCopilot && (
39
<div className={styles.row}>
40
<div className={cn(styles.field, styles.col1)} />
41
<div className={cn(styles.field, styles.col2, styles.error)}>
0 commit comments