diff --git a/common/app/routes/Challenges/Side-Panel.jsx b/common/app/routes/Challenges/Side-Panel.jsx index bc6d87d408..0d23b36771 100644 --- a/common/app/routes/Challenges/Side-Panel.jsx +++ b/common/app/routes/Challenges/Side-Panel.jsx @@ -47,7 +47,7 @@ const mapStateToProps = createSelector( hintIndexSelector, codeLockedSelector, ( - { description }, + { description, guideUrl }, { title }, tests, output, @@ -55,6 +55,7 @@ const mapStateToProps = createSelector( isCodeLocked, ) => ({ title, + guideUrl, description, tests, output, @@ -64,6 +65,7 @@ const mapStateToProps = createSelector( const propTypes = { description: PropTypes.arrayOf(PropTypes.string), executeChallenge: PropTypes.func, + guideUrl: PropTypes.string, hint: PropTypes.string, isCodeLocked: PropTypes.bool, makeToast: PropTypes.func, @@ -127,7 +129,8 @@ export class SidePanel extends PureComponent { openBugModal, openHelpModal, isCodeLocked, - unlockUntrustedCode + unlockUntrustedCode, + guideUrl } = this.props; return (
+ {guideUrl && +
+ +
+
+ }