run prettier(2.0.5) (#1438)

This commit is contained in:
Severiano Badajoz
2020-05-04 10:26:42 -07:00
committed by GitHub
parent b255e32548
commit 6cccc41c0f
118 changed files with 1979 additions and 1584 deletions
+4 -4
View File
@@ -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;