From 5ed045b5f6d758588456401814cf801305246047 Mon Sep 17 00:00:00 2001 From: Drew Hess Date: Tue, 9 Apr 2024 19:11:30 +0100 Subject: [PATCH] style: `nix fmt` pass No functional changes here, only formatting. Signed-off-by: Drew Hess --- src/components/TreeReactFlow/Types.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/TreeReactFlow/Types.ts b/src/components/TreeReactFlow/Types.ts index 0876d875..42d82a76 100644 --- a/src/components/TreeReactFlow/Types.ts +++ b/src/components/TreeReactFlow/Types.ts @@ -83,10 +83,9 @@ export const treeToGraph = < ): Graph => { const [trees, edges] = unzip( tree.childTrees - .map<[Tree, E & { isRight: boolean }]>(([t, e]) => [ - t, - { ...e, ...{ isRight: false } }, - ]) + .map< + [Tree, E & { isRight: boolean }] + >(([t, e]) => [t, { ...e, ...{ isRight: false } }]) .concat( tree.rightChild ? [