Fixes #4516 and any other code that hoists into a scope where function params are destructured.
10 lines
199 B
JavaScript
10 lines
199 B
JavaScript
function render(_ref) {
|
|
let text = _ref.text,
|
|
className = _ref.className,
|
|
id = _ref.id;
|
|
|
|
var _ref2 = <Component text={text} className={className} id={id} />;
|
|
|
|
return () => _ref2;
|
|
}
|