Skip to content

Commit

Permalink
Merge 02564ab into e833786
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Oct 10, 2018
2 parents e833786 + 02564ab commit 1d94524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vdom/component.js
Expand Up @@ -282,7 +282,7 @@ export function unmountComponent(component) {
unmountComponent(inner);
}
else if (base) {
if (base[ATTR_KEY] && base[ATTR_KEY].ref) base[ATTR_KEY].ref(null);
if (base[ATTR_KEY]!=null) applyRef(base[ATTR_KEY].ref, null);

component.nextBase = base;

Expand Down

0 comments on commit 1d94524

Please sign in to comment.