From 0c1335389fced6834dd70ab01db2c87345ccc60f Mon Sep 17 00:00:00 2001 From: Jeremia Kimelman Date: Wed, 14 Jun 2017 14:18:02 -0400 Subject: [PATCH] Remove modal from the project Closes #903 --- src/actions/modal.js | 4 -- src/components/App.js | 10 +--- src/components/BetaModal.js | 92 ------------------------------------- src/reducers/index.js | 2 - src/reducers/modal.js | 14 ------ 5 files changed, 1 insertion(+), 121 deletions(-) delete mode 100644 src/actions/modal.js delete mode 100644 src/components/BetaModal.js delete mode 100644 src/reducers/modal.js diff --git a/src/actions/modal.js b/src/actions/modal.js deleted file mode 100644 index 0d9234e1..00000000 --- a/src/actions/modal.js +++ /dev/null @@ -1,4 +0,0 @@ -import { MODAL_HIDE, MODAL_SHOW } from './constants' - -export const hideModal = () => ({ type: MODAL_HIDE }) -export const showModal = () => ({ type: MODAL_SHOW }) diff --git a/src/components/App.js b/src/components/App.js index 4581ae38..7fb82840 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -4,7 +4,6 @@ import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import BetaBanner from './BetaBanner' -import BetaModal from './BetaModal' import ClearCacheBtn from './ClearCacheBtn' import Disclaimer from './Disclaimer' import Feedback from './Feedback' @@ -13,7 +12,6 @@ import Glossary from './Glossary' import Header from './Header' import * as feedbackActions from '../actions/feedback' import * as glossaryActions from '../actions/glossary' -import * as modalActions from '../actions/modal' const isProd = process.env.NODE_ENV === 'production' @@ -28,12 +26,6 @@ const App = ({ actions, appState, children, dispatch, location }) => (