diff --git a/src/runtime/internal/dom.ts b/src/runtime/internal/dom.ts index ba1fb43c05..de2453ba2d 100644 --- a/src/runtime/internal/dom.ts +++ b/src/runtime/internal/dom.ts @@ -203,7 +203,7 @@ export function insert_hydration(target: NodeEx, node: NodeEx, anchor?: NodeEx) } export function detach(node: Node) { - if (node.parentNode){ + if (node.parentNode) { node.parentNode.removeChild(node); } }