mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-28 06:58:12 +08:00
run prettier(2.0.5) (#1438)
This commit is contained in:
@@ -25,7 +25,7 @@ const Annotations = (
|
||||
isEditingLabelName: false,
|
||||
categoryBeingEdited: null,
|
||||
categoryAddingNewLabel: null,
|
||||
labelEditable: { category: null, label: null }
|
||||
labelEditable: { category: null, label: null },
|
||||
},
|
||||
action
|
||||
) => {
|
||||
@@ -40,7 +40,7 @@ const Annotations = (
|
||||
return {
|
||||
...state,
|
||||
dataCollectionNameIsReadOnly,
|
||||
dataCollectionName
|
||||
dataCollectionName,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ const Annotations = (
|
||||
}
|
||||
return {
|
||||
...state,
|
||||
dataCollectionName: action.data
|
||||
dataCollectionName: action.data,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ const Annotations = (
|
||||
return {
|
||||
...state,
|
||||
isAddingNewLabel: true,
|
||||
categoryAddingNewLabel: action.data
|
||||
categoryAddingNewLabel: action.data,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ const Annotations = (
|
||||
return {
|
||||
...state,
|
||||
isAddingNewLabel: false,
|
||||
categoryAddingNewLabel: null
|
||||
categoryAddingNewLabel: null,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ const Annotations = (
|
||||
return {
|
||||
...state,
|
||||
isEditingCategoryName: true,
|
||||
categoryBeingEdited: action.data
|
||||
categoryBeingEdited: action.data,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ const Annotations = (
|
||||
return {
|
||||
...state,
|
||||
isEditingCategoryName: false,
|
||||
categoryBeingEdited: null
|
||||
categoryBeingEdited: null,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -94,8 +94,8 @@ const Annotations = (
|
||||
isEditingLabelName: true,
|
||||
labelEditable: {
|
||||
category: action.metadataField,
|
||||
label: action.categoryIndex
|
||||
}
|
||||
label: action.categoryIndex,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ const Annotations = (
|
||||
return {
|
||||
...state,
|
||||
isEditingLabelName: false,
|
||||
labelEditable: { category: null, label: null }
|
||||
labelEditable: { category: null, label: null },
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user