From 6518b6847a76268c2f82712466379d81b9835962 Mon Sep 17 00:00:00 2001 From: Steve Dunham Date: Thu, 2 Apr 2026 21:46:47 -0700 Subject: [PATCH] fix bug in spruce.ts --- web/dist/spruce.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/dist/spruce.ts b/web/dist/spruce.ts index 211ccce..15725e9 100644 --- a/web/dist/spruce.ts +++ b/web/dist/spruce.ts @@ -22,7 +22,7 @@ export function runapp( ) { function replace(parent: Node, node: Node | undefined, child: Node) { if (node) { - parent.insertBefore(node, child); + parent.insertBefore(child, node); parent.removeChild(node); } else { parent.appendChild(child);