Update src/runtime/slot/index.ts

Co-authored-by: Luke Edwards <luke.edwards05@gmail.com>
pull/4296/head
Tan Li Hau 5 years ago committed by GitHub
parent f9cd7f784a
commit 4ed67ad54a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ function create_root_slot_fn(elements) {
d: function destroy(detaching) {
if (detaching) {
elements.forEach(element => detach(element));
elements.forEach(detach);
}
},

Loading…
Cancel
Save