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
+10 -10
View File
@@ -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 },
};
}