Prettier 2.0 (#393)

This commit is contained in:
Steve Faulkner
2021-01-20 09:15:01 -06:00
committed by GitHub
parent c1937ca464
commit 4be53284b5
500 changed files with 41927 additions and 41838 deletions

View File

@@ -28,7 +28,7 @@ export class ReadOnlyNodePropertiesComponent extends React.Component<ReadOnlyNod
<span className="vertexLabel">{this.props.node.label}</span>
</td>
</tr>
{Object.keys(this.props.node.properties).map(_propkey => {
{Object.keys(this.props.node.properties).map((_propkey) => {
const gremlinValues = this.props.node.properties[_propkey];
return ReadOnlyNodePropertiesComponent.renderReadOnlyPropertyKeyPair(_propkey, gremlinValues);
})}
@@ -41,11 +41,11 @@ export class ReadOnlyNodePropertiesComponent extends React.Component<ReadOnlyNod
key: string,
propertyValues: ViewModels.GremlinPropertyValueType[]
): JSX.Element {
const renderedValues = propertyValues.map(value =>
const renderedValues = propertyValues.map((value) =>
ReadOnlyNodePropertiesComponent.renderSinglePropertyValue(value)
);
const stringifiedValues = propertyValues
.map(value => ReadOnlyNodePropertiesComponent.singlePropertyValueToString(value))
.map((value) => ReadOnlyNodePropertiesComponent.singlePropertyValueToString(value))
.join(", ");
return (
<tr key={key}>