Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

lint

AykutSarac0774d5c98de1
diff --git a/src/containers/LiveEditor/helpers.ts b/src/containers/LiveEditor/helpers.ts
index 12fd3ec9..794af385 100644
--- a/src/containers/LiveEditor/helpers.ts
+++ b/src/containers/LiveEditor/helpers.ts
@@ -32,7 +32,7 @@ export function getEdgeNodes(graph: any, isExpanded: boolean = true): any {
.sort((a, b) => a - b);
const longestLine = lineLengths.reverse()[0];
- const height = (lines.length * 18 < 30 ? 40 : lines.length * 18);
+ const height = lines.length * 18 < 30 ? 40 : lines.length * 18;
nodes.push({
id: el.id,