From acd5aa8c834f048ca33e2faed4c7fbf45f02fd9d Mon Sep 17 00:00:00 2001 From: catarak Date: Wed, 24 Aug 2016 15:36:37 -0400 Subject: [PATCH] fix new project action --- client/modules/IDE/reducers/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/IDE/reducers/files.js b/client/modules/IDE/reducers/files.js index ea3cdcf8..01bc755a 100644 --- a/client/modules/IDE/reducers/files.js +++ b/client/modules/IDE/reducers/files.js @@ -90,7 +90,7 @@ const files = (state, action) => { case ActionTypes.SET_PROJECT: return [...action.files]; case ActionTypes.RESET_PROJECT: - return initialState; + return initialState(); case ActionTypes.CREATE_FILE: // eslint-disable-line const newState = state.map((file) => { if (file.id === action.parentId) {