diff --git a/client/src/redux/selectors.js b/client/src/redux/selectors.js index 0b2fdf5ac26..4b64800b916 100644 --- a/client/src/redux/selectors.js +++ b/client/src/redux/selectors.js @@ -149,7 +149,7 @@ export const completionStateSelector = createSelector( const structure = superBlockStructures[challengeMeta.superBlock]; - const chapters = structure.chapters ?? []; + const chapters = structure?.chapters ?? []; const getCompletionState = ({ chapters,