File tree 1 file changed +8
-8
lines changed
packages/babel-plugin-jsx/src 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ export const transformJSXMemberExpression = (
80
80
path . get ( 'object' ) as NodePath < t . JSXMemberExpression >
81
81
)
82
82
: t . isJSXIdentifier ( objectPath )
83
- ? t . identifier ( objectPath . name )
84
- : t . nullLiteral ( ) ;
83
+ ? t . identifier ( objectPath . name )
84
+ : t . nullLiteral ( ) ;
85
85
const transformedProperty = t . identifier ( propertyPath . name ) ;
86
86
return t . memberExpression ( transformedObject , transformedProperty ) ;
87
87
} ;
@@ -106,12 +106,12 @@ export const getTag = (
106
106
return name === FRAGMENT
107
107
? createIdentifier ( state , FRAGMENT )
108
108
: path . scope . hasBinding ( name )
109
- ? t . identifier ( name )
110
- : state . opts . isCustomElement ?.( name )
111
- ? t . stringLiteral ( name )
112
- : t . callExpression ( createIdentifier ( state , 'resolveComponent' ) , [
113
- t . stringLiteral ( name ) ,
114
- ] ) ;
109
+ ? t . identifier ( name )
110
+ : state . opts . isCustomElement ?.( name )
111
+ ? t . stringLiteral ( name )
112
+ : t . callExpression ( createIdentifier ( state , 'resolveComponent' ) , [
113
+ t . stringLiteral ( name ) ,
114
+ ] ) ;
115
115
}
116
116
117
117
return t . stringLiteral ( name ) ;
You can’t perform that action at this time.
0 commit comments