Global classNames, and more

This commit is contained in:
Belen Curcio
2017-06-07 12:05:53 -03:00
parent 456eedfd31
commit d7dfae89a3
12 changed files with 25 additions and 26 deletions
@@ -22,4 +22,6 @@
padding: 5px 0;
}
:global(.offTopicComment) {
display: none;
}
@@ -39,4 +39,4 @@ const ViewingOptions = (props) => {
);
};
export default ViewingOptions;
export default ViewingOptions;
@@ -1,2 +1,2 @@
export const OPEN_VIEWING_OPTIONS = 'OPEN_VIEWING_OPTIONS';
export const CLOSE_VIEWING_OPTIONS = 'CLOSE_VIEWING_OPTIONS';
export const CLOSE_VIEWING_OPTIONS = 'CLOSE_VIEWING_OPTIONS';
@@ -6,15 +6,15 @@ const initialState = {
export default function offTopic (state = initialState, action) {
switch (action.type) {
case OPEN_VIEWING_OPTIONS:
return {
...state,
open: true
};
case CLOSE_VIEWING_OPTIONS:
return {
...state,
open: false
case OPEN_VIEWING_OPTIONS:
return {
...state,
open: true
};
case CLOSE_VIEWING_OPTIONS:
return {
...state,
open: false
};
default :
return state;
@@ -1 +1 @@
module.exports = {};
module.exports = {};