chore(challenge): Remove unsed help field

This commit is contained in:
Bouncey
2018-09-30 23:00:44 +01:00
committed by Stuart Taylor
parent 142ac17112
commit e7e69081b6
2 changed files with 0 additions and 3 deletions

View File

@ -33,7 +33,6 @@ export const ChallengeNode = PropTypes.shape({
}), }),
guideUrl: PropTypes.string, guideUrl: PropTypes.string,
head: PropTypes.arrayOf(PropTypes.string), head: PropTypes.arrayOf(PropTypes.string),
helpRoom: PropTypes.string,
suborder: PropTypes.number, suborder: PropTypes.number,
isBeta: PropTypes.bool, isBeta: PropTypes.bool,
isComingSoon: PropTypes.bool, isComingSoon: PropTypes.bool,

View File

@ -21,7 +21,6 @@ exports.buildChallenges$ = function buildChallenges$() {
const isBeta = !!challengeSpec.isBeta; const isBeta = !!challengeSpec.isBeta;
const isComingSoon = !!challengeSpec.isComingSoon; const isComingSoon = !!challengeSpec.isComingSoon;
const fileName = challengeSpec.fileName; const fileName = challengeSpec.fileName;
const helpRoom = challengeSpec.helpRoom || 'Help';
const time = challengeSpec.time; const time = challengeSpec.time;
const isLocked = !!challengeSpec.isLocked; const isLocked = !!challengeSpec.isLocked;
const message = challengeSpec.message; const message = challengeSpec.message;
@ -68,7 +67,6 @@ exports.buildChallenges$ = function buildChallenges$() {
); );
} }
challenge.fileName = fileName; challenge.fileName = fileName;
challenge.helpRoom = helpRoom;
challenge.order = order; challenge.order = order;
challenge.suborder = index + 1; challenge.suborder = index + 1;
challenge.block = dasherize(blockName); challenge.block = dasherize(blockName);