Skip to content

Commit 207fa1c

Browse files
committed
style: format
1 parent e40e6b2 commit 207fa1c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/babel-plugin-jsx/src/utils.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export const transformJSXMemberExpression = (
8080
path.get('object') as NodePath<t.JSXMemberExpression>
8181
)
8282
: t.isJSXIdentifier(objectPath)
83-
? t.identifier(objectPath.name)
84-
: t.nullLiteral();
83+
? t.identifier(objectPath.name)
84+
: t.nullLiteral();
8585
const transformedProperty = t.identifier(propertyPath.name);
8686
return t.memberExpression(transformedObject, transformedProperty);
8787
};
@@ -106,12 +106,12 @@ export const getTag = (
106106
return name === FRAGMENT
107107
? createIdentifier(state, FRAGMENT)
108108
: 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+
]);
115115
}
116116

117117
return t.stringLiteral(name);

0 commit comments

Comments
 (0)