chore: remove unnecessary code
This commit is contained in:
parent
b30b17d22d
commit
b378b17076
@ -1517,7 +1517,6 @@ export function createRenderer<
|
|||||||
anchor
|
anchor
|
||||||
)
|
)
|
||||||
suspense.container = container
|
suspense.container = container
|
||||||
// suspense.anchor = anchor
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (vnode.type === Fragment) {
|
if (vnode.type === Fragment) {
|
||||||
|
@ -32,12 +32,7 @@ export const nodeOps = {
|
|||||||
el.textContent = text
|
el.textContent = text
|
||||||
},
|
},
|
||||||
|
|
||||||
parentNode: (node: Node): Node | null => {
|
parentNode: (node: Node): Node | null => node.parentNode,
|
||||||
if (!node) {
|
|
||||||
debugger
|
|
||||||
}
|
|
||||||
return node.parentNode
|
|
||||||
},
|
|
||||||
|
|
||||||
nextSibling: (node: Node): Node | null => node.nextSibling,
|
nextSibling: (node: Node): Node | null => node.nextSibling,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user