From c79afa99b54a0960fe411c1b1047874f1d6beef9 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Fri, 12 Jan 2018 17:23:09 -0800 Subject: [PATCH] fix(Nav): Remove unused epic --- common/app/Nav/redux/bin-epic.js | 10 ---------- common/app/Nav/redux/index.js | 4 +--- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 common/app/Nav/redux/bin-epic.js diff --git a/common/app/Nav/redux/bin-epic.js b/common/app/Nav/redux/bin-epic.js deleted file mode 100644 index 8ac0cf620e..0000000000 --- a/common/app/Nav/redux/bin-epic.js +++ /dev/null @@ -1,10 +0,0 @@ -import { ofType } from 'redux-epic'; - -import { types } from './'; - -import { hidePane } from '../../Panes/redux'; - -export default function binEpic(actions) { - return actions::ofType(types.clickOnMap) - .map(() => hidePane('Map')); -} diff --git a/common/app/Nav/redux/index.js b/common/app/Nav/redux/index.js index 297d859434..81179b75c5 100644 --- a/common/app/Nav/redux/index.js +++ b/common/app/Nav/redux/index.js @@ -7,13 +7,11 @@ import { } from 'berkeleys-redux-utils'; import loadCurrentChallengeEpic from './load-current-challenge-epic.js'; -import binEpic from './bin-epic.js'; import ns from '../ns.json'; import { createEventMetaCreator } from '../../redux'; export const epics = [ - loadCurrentChallengeEpic, - binEpic + loadCurrentChallengeEpic ]; export const types = createTypes([