Skip to content

Commit 4c016e7

Browse files
authored
Refactor: use property shorthand (#25366)
1 parent 06066c1 commit 4c016e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react/src/jsx/ReactJSXElement.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ const ReactElement = function(type, key, ref, self, source, owner, props) {
151151
$$typeof: REACT_ELEMENT_TYPE,
152152

153153
// Built-in properties that belong on the element
154-
type: type,
155-
key: key,
156-
ref: ref,
157-
props: props,
154+
type,
155+
key,
156+
ref,
157+
props,
158158

159159
// Record the component responsible for creating this element.
160160
_owner: owner,

0 commit comments

Comments
 (0)