mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 06:38:12 +08:00
run prettier(2.0.5) (#1438)
This commit is contained in:
@@ -3,7 +3,7 @@ const Config = (
|
||||
state = {
|
||||
displayNames: null,
|
||||
features: null,
|
||||
parameters: null
|
||||
parameters: null,
|
||||
},
|
||||
action
|
||||
) => {
|
||||
@@ -12,19 +12,19 @@ const Config = (
|
||||
return {
|
||||
...state,
|
||||
loading: true,
|
||||
error: null
|
||||
error: null,
|
||||
};
|
||||
case "configuration load complete":
|
||||
return {
|
||||
...state,
|
||||
loading: false,
|
||||
error: null,
|
||||
...action.config
|
||||
...action.config,
|
||||
};
|
||||
case "initial data load error":
|
||||
return {
|
||||
...state,
|
||||
error: action.error
|
||||
error: action.error,
|
||||
};
|
||||
default:
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user