diff --git a/client/src/redux/propTypes.js b/client/src/redux/propTypes.js
index 370e759001..3d2abd23b4 100644
--- a/client/src/redux/propTypes.js
+++ b/client/src/redux/propTypes.js
@@ -20,6 +20,7 @@ export const MarkdownRemark = PropTypes.shape({
export const ChallengeNode = PropTypes.shape({
block: PropTypes.string,
+ challengeOrder: PropTypes.number,
challengeType: PropTypes.number,
dashedName: PropTypes.string,
description: PropTypes.string,
@@ -31,9 +32,9 @@ export const ChallengeNode = PropTypes.shape({
slug: PropTypes.string,
blockName: PropTypes.string
}),
+ forumTopicId: PropTypes.number,
guideUrl: PropTypes.string,
head: PropTypes.arrayOf(PropTypes.string),
- challengeOrder: PropTypes.number,
instructions: PropTypes.string,
isBeta: PropTypes.bool,
isComingSoon: PropTypes.bool,
diff --git a/client/src/templates/Challenges/backend/Show.js b/client/src/templates/Challenges/backend/Show.js
index 1b574341bd..237605d9ca 100644
--- a/client/src/templates/Challenges/backend/Show.js
+++ b/client/src/templates/Challenges/backend/Show.js
@@ -17,7 +17,7 @@ import {
updateProjectFormValues,
backendNS
} from '../redux';
-import { createGuideUrl } from '../utils';
+import { getGuideUrl } from '../utils';
import LearnLayout from '../../../components/layouts/Learn';
import ChallengeTitle from '../components/Challenge-Title';
@@ -44,6 +44,7 @@ const propTypes = {
}),
description: PropTypes.string,
executeChallenge: PropTypes.func.isRequired,
+ forumTopicId: PropTypes.number,
id: PropTypes.string,
initConsole: PropTypes.func.isRequired,
initTests: PropTypes.func.isRequired,
@@ -155,8 +156,9 @@ export class BackEnd extends Component {
const {
data: {
challengeNode: {
- fields: { blockName, slug },
+ fields: { blockName },
challengeType,
+ forumTopicId,
title,
description,
instructions
@@ -210,7 +212,9 @@ export class BackEnd extends Component {
updateProjectForm={updateProjectFormValues}
/>
)}
-
+