Make board not use computed around jsx
This commit is contained in:
parent
7f2fa9cc27
commit
b1cbbc4f00
1 changed files with 3 additions and 3 deletions
|
@ -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", () => {
|
|||
>
|
||||
<SVGNode>
|
||||
{dNodes}
|
||||
{links.value}
|
||||
{links()}
|
||||
</SVGNode>
|
||||
{nodes.value.map(renderNode)}
|
||||
{render(cNode)}
|
||||
|
|
Loading…
Reference in a new issue