From c0f4fecb6fc9137261c3388328b574864eb858b9 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Fri, 13 May 2016 14:05:29 -0700 Subject: [PATCH] Add bonfire to challenge types --- common/app/routes/challenges/redux/reducer.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 {}; }