diff options
Diffstat (limited to 'app/assets/javascripts/components/reducers/meta.jsx')
-rw-r--r-- | app/assets/javascripts/components/reducers/meta.jsx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/assets/javascripts/components/reducers/meta.jsx b/app/assets/javascripts/components/reducers/meta.jsx deleted file mode 100644 index acf6d4be1..000000000 --- a/app/assets/javascripts/components/reducers/meta.jsx +++ /dev/null @@ -1,17 +0,0 @@ -import { STORE_HYDRATE } from '../actions/store'; -import Immutable from 'immutable'; - -const initialState = Immutable.Map({ - streaming_api_base_url: null, - access_token: null, - me: null -}); - -export default function meta(state = initialState, action) { - switch(action.type) { - case STORE_HYDRATE: - return state.merge(action.state.get('meta')); - default: - return state; - } -}; |