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
+5 -5
View File
@@ -2,7 +2,7 @@ import calcCentroid from "../util/centroid";
const initialState = {
labels: [],
showLabels: false
showLabels: false,
};
const centroidLabels = (state = initialState, action, sharedNextState) => {
@@ -10,7 +10,7 @@ const centroidLabels = (state = initialState, action, sharedNextState) => {
world,
layoutChoice,
categoricalSelection,
colors: { colorAccessor }
colors: { colorAccessor },
} = sharedNextState;
const showLabels = action.showLabels ?? state.showLabels;
@@ -34,7 +34,7 @@ const centroidLabels = (state = initialState, action, sharedNextState) => {
categoricalSelection,
world.schema.annotations.obsByName
)
: []
: [],
};
case "color by categorical metadata":
@@ -45,7 +45,7 @@ const centroidLabels = (state = initialState, action, sharedNextState) => {
return {
...state,
labels: [],
showLabels
showLabels,
};
}
@@ -59,7 +59,7 @@ const centroidLabels = (state = initialState, action, sharedNextState) => {
categoricalSelection,
world.schema.annotations.obsByName
),
showLabels
showLabels,
};
case "color by continuous metadata":