Fix comment type in ReactElement (#12314)

This commit is contained in:
Gustavo Saiani 2018-03-03 15:13:16 -03:00 committed by Nathan Hunzaker
parent 2cf9063318
commit 373a33f9d3
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ function defineRefPropWarningGetter(props, displayName) {
*/ */
const ReactElement = function(type, key, ref, self, source, owner, props) { const ReactElement = function(type, key, ref, self, source, owner, props) {
const element = { const element = {
// This tag allow us to uniquely identify this as a React Element // This tag allows us to uniquely identify this as a React Element
$$typeof: REACT_ELEMENT_TYPE, $$typeof: REACT_ELEMENT_TYPE,
// Built-in properties that belong on the element // Built-in properties that belong on the element