From d3622d0f977def825123f1d5f4cef19888b1eaf1 Mon Sep 17 00:00:00 2001 From: Kirankumar Ambati Date: Mon, 30 Sep 2019 03:30:49 +0530 Subject: [PATCH] chore: updated comment message (#16949) --- packages/react/src/ReactElement.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/ReactElement.js b/packages/react/src/ReactElement.js index 163ae077f0aca..e900527b53660 100644 --- a/packages/react/src/ReactElement.js +++ b/packages/react/src/ReactElement.js @@ -90,8 +90,8 @@ function defineRefPropWarningGetter(props, displayName) { /** * Factory method to create a new React element. This no longer adheres to - * the class pattern, so do not use new to call it. Also, no instanceof check - * will work. Instead test $$typeof field against Symbol.for('react.element') to check + * the class pattern, so do not use new to call it. Also, instanceof check + * will not work. Instead test $$typeof field against Symbol.for('react.element') to check * if something is a React Element. * * @param {*} type