Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tbo47 committed Sep 23, 2024
1 parent 373d9f9 commit 8c4523d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dagre/position/bk.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function findType1Conflicts(g, layering) {
return layer;
}

if(Array.isArray(layering) && layering.length > 0) layering.reduce(visitLayer);
if (Array.isArray(layering) && layering.length > 0) layering.reduce(visitLayer);
return conflicts;
}

Expand Down Expand Up @@ -114,7 +114,7 @@ function findType2Conflicts(g, layering) {
return south;
}

if(Array.isArray(layering) && layering.length > 0) layering.reduce(visitLayer);
if (Array.isArray(layering) && layering.length > 0) layering.reduce(visitLayer);
return conflicts;
}

Expand Down

0 comments on commit 8c4523d

Please sign in to comment.