Skip to content

Commit

Permalink
Refactor: use property shorthand (#25366)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangrenyang authored Sep 30, 2022
1 parent 06066c1 commit 4c016e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/react/src/jsx/ReactJSXElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ const ReactElement = function(type, key, ref, self, source, owner, props) {
$$typeof: REACT_ELEMENT_TYPE,

// Built-in properties that belong on the element
type: type,
key: key,
ref: ref,
props: props,
type,
key,
ref,
props,

// Record the component responsible for creating this element.
_owner: owner,
Expand Down

0 comments on commit 4c016e7

Please sign in to comment.