mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 17:48:12 +08:00
run prettier(2.0.5) (#1438)
This commit is contained in:
@@ -6,7 +6,7 @@ const Differential = (
|
||||
loading: null,
|
||||
error: null,
|
||||
celllist1: null,
|
||||
celllist2: null
|
||||
celllist2: null,
|
||||
},
|
||||
action
|
||||
) => {
|
||||
@@ -15,37 +15,37 @@ const Differential = (
|
||||
return {
|
||||
...state,
|
||||
loading: true,
|
||||
error: null
|
||||
error: null,
|
||||
};
|
||||
case "request differential expression success":
|
||||
return {
|
||||
...state,
|
||||
error: null,
|
||||
loading: false,
|
||||
diffExp: action.data
|
||||
diffExp: action.data,
|
||||
};
|
||||
case "request differential expression error":
|
||||
return {
|
||||
...state,
|
||||
loading: false,
|
||||
error: action.data
|
||||
error: action.data,
|
||||
};
|
||||
case "store current cell selection as differential set 1":
|
||||
return {
|
||||
...state,
|
||||
celllist1: action.data
|
||||
celllist1: action.data,
|
||||
};
|
||||
case "store current cell selection as differential set 2":
|
||||
return {
|
||||
...state,
|
||||
celllist2: action.data
|
||||
celllist2: action.data,
|
||||
};
|
||||
case "clear differential expression":
|
||||
return {
|
||||
...state,
|
||||
diffExp: null,
|
||||
celllist1: null,
|
||||
celllist2: null
|
||||
celllist2: null,
|
||||
};
|
||||
case "reset World to eq Universe":
|
||||
case "set World to current selection":
|
||||
@@ -53,7 +53,7 @@ const Differential = (
|
||||
...state,
|
||||
diffExp: null,
|
||||
celllist1: null,
|
||||
celllist2: null
|
||||
celllist2: null,
|
||||
};
|
||||
default:
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user