Skip to content

Commit

Permalink
Fix issue where preact/debug errored if preact-compat was not present
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Aug 24, 2017
1 parent 5645573 commit ec80880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug/index.js
Expand Up @@ -45,7 +45,7 @@ if (process.env.NODE_ENV === 'development') {
});
}

return oldVnodeOption.call(this, vnode);
if (oldVnodeOption) oldVnodeOption.call(this, vnode);
};

const inspectChildren = (children, inspect) => {
Expand Down

0 comments on commit ec80880

Please sign in to comment.