@@ -31,12 +31,13 @@ class ProblemCard extends React.Component {
3131 //console.log("Reconstructing");
3232 this . step = props . step ;
3333 this . index = props . index ;
34- this . giveStuFeedback = props . giveStuFeedback
35- this . giveStuHints = props . giveStuHints
36- this . allowRetry = this . giveStuFeedback
37- this . showHints = this . giveStuHints == null || this . giveStuHints
38- this . showCorrectness = this . giveStuFeedback
39- console . debug ( 'this.step' , this . step , 'showHints' , this . showHints , 'hintPathway' , context . hintPathway )
34+ this . giveStuFeedback = props . giveStuFeedback ;
35+ this . giveStuHints = props . giveStuHints ;
36+ this . unlockFirstHint = props . unlockFirstHint ;
37+ this . allowRetry = this . giveStuFeedback ;
38+ this . showHints = this . giveStuHints == null || this . giveStuHints ;
39+ this . showCorrectness = this . giveStuFeedback ;
40+ console . debug ( 'this.step' , this . step , 'showHints' , this . showHints , 'hintPathway' , context . hintPathway ) ;
4041 this . hints = this . step . hints [ context . hintPathway ] ;
4142
4243 for ( let hint of this . hints ) {
@@ -241,6 +242,7 @@ class ProblemCard extends React.Component {
241242 < ErrorBoundary componentName = { "HintSystem" } descriptor = { "hint" } >
242243 < HintSystem
243244 giveStuFeedback = { this . giveStuFeedback }
245+ unlockFirstHint = { this . unlockFirstHint }
244246 problemID = { this . props . problemID }
245247 index = { this . props . index }
246248 step = { this . step }
0 commit comments