diff --git a/src/core/ReactLegacyElement.js b/src/core/ReactLegacyElement.js index aeb92b34cc..909fe1aa77 100644 --- a/src/core/ReactLegacyElement.js +++ b/src/core/ReactLegacyElement.js @@ -74,7 +74,7 @@ function warnForNonLegacyFactory(type) { warning( false, 'Do not pass React.DOM.' + type.type + ' to JSX or createFactory. ' + - 'Use the string "' + type + '" instead.' + 'Use the string "' + type.type + '" instead.' ); }