Skip to content

Commit

Permalink
style: nix fmt pass
Browse files Browse the repository at this point in the history
No functional changes here, only formatting.

Signed-off-by: Drew Hess <[email protected]>
  • Loading branch information
dhess committed Apr 9, 2024
1 parent 6967246 commit 5ed045b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/TreeReactFlow/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ export const treeToGraph = <
): Graph<N, E & { isRight: boolean }> => {
const [trees, edges] = unzip(
tree.childTrees
.map<[Tree<N, E>, E & { isRight: boolean }]>(([t, e]) => [
t,
{ ...e, ...{ isRight: false } },
])
.map<
[Tree<N, E>, E & { isRight: boolean }]
>(([t, e]) => [t, { ...e, ...{ isRight: false } }])
.concat(
tree.rightChild
? [
Expand Down

0 comments on commit 5ed045b

Please sign in to comment.