From f7d420ec5bc21680bd8e8896120bee0e61e48af2 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Tue, 21 Jun 2016 09:52:16 -0700 Subject: [PATCH] Fix(challenges): load next block on block completion --- common/app/routes/challenges/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/app/routes/challenges/utils.js b/common/app/routes/challenges/utils.js index 12fab290e6..22e9f5c962 100644 --- a/common/app/routes/challenges/utils.js +++ b/common/app/routes/challenges/utils.js @@ -121,7 +121,7 @@ export function getFirstChallengeOfNextBlock(current, entites) { } const superBlock = SuperBlockMap[block.superBlock]; const index = superBlock.blocks.indexOf(block.dashedName); - const newBlock = superBlock.blocks[ index + 1 ]; + const newBlock = blockMap[superBlock.blocks[ index + 1 ]]; if (!newBlock) { return null; }