diff --git a/packages/runtime-core/src/createRenderer.ts b/packages/runtime-core/src/createRenderer.ts index 020f7c8f..4a391847 100644 --- a/packages/runtime-core/src/createRenderer.ts +++ b/packages/runtime-core/src/createRenderer.ts @@ -1517,7 +1517,6 @@ export function createRenderer< anchor ) suspense.container = container - // suspense.anchor = anchor return } if (vnode.type === Fragment) { diff --git a/packages/runtime-dom/src/nodeOps.ts b/packages/runtime-dom/src/nodeOps.ts index bea0a687..e7b3e86b 100644 --- a/packages/runtime-dom/src/nodeOps.ts +++ b/packages/runtime-dom/src/nodeOps.ts @@ -32,12 +32,7 @@ export const nodeOps = { el.textContent = text }, - parentNode: (node: Node): Node | null => { - if (!node) { - debugger - } - return node.parentNode - }, + parentNode: (node: Node): Node | null => node.parentNode, nextSibling: (node: Node): Node | null => node.nextSibling,