mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Don't call utils.traverse in transform
Accidental change we missed in review of #495.
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ function visitReactTag(traverse, object, path, state) {
|
||||
} else if (child.type === Syntax.XJSExpressionContainer) {
|
||||
renderXJSExpressionContainer(traverse, child, isLast, path, state);
|
||||
} else {
|
||||
utils.traverse(child, path, state);
|
||||
traverse(child, path, state);
|
||||
if (!isLast) {
|
||||
utils.append(',', state);
|
||||
state.g.buffer = state.g.buffer.replace(/(\s*),$/, ',$1');
|
||||
|
||||
Reference in New Issue
Block a user