chore: updated comment message (#16949)
Kirankumar Ambati committed
Sep 30, 2019 at 03:30 UTC
d3622d0f977def825123f1d5f4cef19888b1eaf1
1 file changed
+2
-2
packages/react/src/ReactElement.js
+2
-2
@@ -90,8 +90,8 @@ function defineRefPropWarningGetter(props, displayName) {
90
91
/**
92
* Factory method to create a new React element. This no longer adheres to
93
- * the class pattern, so do not use new to call it. Also, no instanceof check
94
- * will work. Instead test $$typeof field against Symbol.for('react.element') to check
93
+ * the class pattern, so do not use new to call it. Also, instanceof check
94
+ * will not work. Instead test $$typeof field against Symbol.for('react.element') to check
95
* if something is a React Element.
96
*
97
* @param {*} type