diff --git a/common/app/routes/challenges/redux/reducer.js b/common/app/routes/challenges/redux/reducer.js index 27b009e2b1..e58113dc1c 100644 --- a/common/app/routes/challenges/redux/reducer.js +++ b/common/app/routes/challenges/redux/reducer.js @@ -2,7 +2,7 @@ import { handleActions } from 'redux-actions'; import { createPoly } from '../../../../utils/polyvinyl'; import types from './types'; -import { HTML, JS } from '../../../utils/challengeTypes'; +import { BONFIRE, HTML, JS } from '../../../utils/challengeTypes'; import { buildSeed, getPath } from '../utils'; const initialState = { @@ -70,7 +70,8 @@ const filesReducer = handleActions( } if ( challenge.challengeType !== HTML && - challenge.challengeType !== JS + challenge.challengeType !== JS && + challenge.challengeType !== BONFIRE ) { return {}; }