@samitouri / QOS-React-2 / commits / 810582d114

Fix warning message for using React.DOM.* as type

Previously, this said 'Use the string "function() { [native code] }" instead.'.

Ben Alpert committed Oct 16, 2014 at 18:21 UTC 810582d114f65b3f86301d53f34235b68d6c7f1e
1 file changed +1 -1
src/core/ReactLegacyElement.js
+1 -1
@@ -74,7 +74,7 @@ function warnForNonLegacyFactory(type) {
74 warning(
75 false,
76 'Do not pass React.DOM.' + type.type + ' to JSX or createFactory. ' +
77 - 'Use the string "' + type + '" instead.'
77 + 'Use the string "' + type.type + '" instead.'
78 );
79 }
80