mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Merge pull request #2368 from spicyj/use-the-string
Fix warning message for using React.DOM.* as type
This commit is contained in:
commit
daf4182707
1 file changed
+1
-1
@@ -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.'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user