feat: change unrender function to take in any Element rather than HTMLElement
This commit is contained in:
parent
287a6415c9
commit
a164f89042
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
import { render } from "vue";
|
import { render } from "vue";
|
||||||
|
|
||||||
export default (div: HTMLDivElement) => {
|
export default (div: Element) => {
|
||||||
render(null, div);
|
render(null, div);
|
||||||
div.remove();
|
div.remove();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue