chore: move utils
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export function removeNode(el: Node) {
|
||||
const parent = el.parentNode;
|
||||
|
||||
if (parent) {
|
||||
parent.removeChild(el);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user