Plugins renaming

This commit is contained in:
Belen Curcio
2017-07-20 11:52:36 -03:00
parent eb3a9431f9
commit 6ec33a0225
115 changed files with 0 additions and 411 deletions
@@ -0,0 +1,22 @@
import {VIEWING_OPTIONS_OPEN, VIEWING_OPTIONS_CLOSE} from './constants';
const initialState = {
open: false
};
export default function offTopic (state = initialState, action) {
switch (action.type) {
case VIEWING_OPTIONS_OPEN:
return {
...state,
open: true
};
case VIEWING_OPTIONS_CLOSE:
return {
...state,
open: false
};
default :
return state;
}
}