Skip to content

Commit 5aa8021

Browse files
committed
Use empty object instead of undefined for empty styles
1 parent 862ba37 commit 5aa8021

File tree

1 file changed

+1
-1
lines changed
  • rust/cubesql/cubesql/egraph-debug-template/src

1 file changed

+1
-1
lines changed

rust/cubesql/cubesql/egraph-debug-template/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const toEdge = (n) => ({
4747
style:
4848
n.source.indexOf(`${n.target}-`) === 0
4949
? { stroke: '#f00', strokeWidth: 10 }
50-
: undefined,
50+
: {},
5151
});
5252
const initialNodes = data.combos
5353
.map(toGroupNode)

0 commit comments

Comments
 (0)