Merge pull request #2368 from spicyj/use-the-string

Fix warning message for using React.DOM.* as type
This commit is contained in:
Ben Alpert
2014-10-17 12:01:17 -07:00
+1 -1
View File
@@ -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.'
);
}