From b1cbbc4f00e32da9790f9a6bcc461338b4577adb Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 12 Dec 2024 07:59:10 -0600 Subject: [PATCH] Make board not use computed around jsx --- src/data/layers/board.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/layers/board.tsx b/src/data/layers/board.tsx index 4bfcd1f..eb26683 100644 --- a/src/data/layers/board.tsx +++ b/src/data/layers/board.tsx @@ -337,7 +337,7 @@ const board = createLayer("board", () => { ); - const links = computed(() => ( + const links = () => ( <> {nodes.value .reduce( @@ -374,7 +374,7 @@ const board = createLayer("board", () => { /> ))} - )); + ); const nextId = setupUniqueIds(() => nodes.value); @@ -403,7 +403,7 @@ const board = createLayer("board", () => { > {dNodes} - {links.value} + {links()} {nodes.value.map(renderNode)} {render(cNode)}