-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I guess that "targetEl" variable can be defined inside the "update" function as follow:
export function portal(el, target = "body") {
- let targetEl;
async function update(newTarget) {
- target = newTarget;
+ let targetEl;
if (typeof target === "string") {
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels