diff --git a/lib/6to5/transformation/transformers/react.js b/lib/6to5/transformation/transformers/react.js index b614c58911..5a70e20968 100644 --- a/lib/6to5/transformation/transformers/react.js +++ b/lib/6to5/transformation/transformers/react.js @@ -65,7 +65,7 @@ exports.XJSOpeningElement = { objs.push(t.objectExpression(_props)); _props = []; - } + }; while (props.length) { var prop = props.shift();