fix: block creation and hot reloading (#66127)

This commit is contained in:
Oliver Eyton-Williams
2026-02-27 13:52:08 +01:00
committed by GitHub
parent ba61d33698
commit a6d1e545c0
9 changed files with 145 additions and 124 deletions
@@ -135,9 +135,7 @@ exports.createChallengePages = function (
};
};
// TODO: figure out a cleaner way to get the last challenge in a block. Create
// it during the curriculum build process and attach it to the first challenge?
// That would remove the need to analyse allChallengeEdges.
// TODO: figure out a cleaner way to get the last challenge in a block.
function getProjectPreviewConfig(challenge, allChallengeNodes) {
const { block } = challenge;