mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
refactor: remove release code (#57957)
This commit is contained in:
committed by
GitHub
parent
be6736f5df
commit
d68cbdb2c4
@@ -78,12 +78,7 @@ function getTemplateComponent(challengeType) {
|
||||
|
||||
exports.createChallengePages = function (
|
||||
createPage,
|
||||
{
|
||||
idToNextPathCurrentCurriculum,
|
||||
idToPrevPathCurrentCurriculum,
|
||||
idToNextPathNextCurriculum,
|
||||
idToPrevPathNextCurriculum
|
||||
}
|
||||
{ idToNextPathCurrentCurriculum, idToPrevPathCurrentCurriculum }
|
||||
) {
|
||||
return function ({ node }, index, allChallengeEdges) {
|
||||
const {
|
||||
@@ -123,10 +118,6 @@ exports.createChallengePages = function (
|
||||
prevChallengePath: idToPrevPathCurrentCurriculum[node.id],
|
||||
id
|
||||
},
|
||||
nextCurriculumPaths: {
|
||||
nextChallengePath: idToNextPathNextCurriculum[node.id],
|
||||
prevChallengePath: idToPrevPathNextCurriculum[node.id]
|
||||
},
|
||||
projectPreview: getProjectPreviewConfig(
|
||||
node.challenge,
|
||||
allChallengeEdges
|
||||
|
||||
Reference in New Issue
Block a user