mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Bumping version to help filtering.
This commit is contained in:
1 parent
63046277e4
commit
4af98990db
1 file changed
+2
-2
@@ -44,7 +44,7 @@ function warnForLegacyFactoryCall() {
|
||||
name + ' is calling a React component directly. ' +
|
||||
'Use a factory or JSX instead. See: http://fb.me/react-legacyfactory'
|
||||
);
|
||||
monitorCodeUse('react_legacy_factory_call', { version: 2, name: name });
|
||||
monitorCodeUse('react_legacy_factory_call', { version: 3, name: name });
|
||||
}
|
||||
|
||||
function warnForPlainFunctionType(type) {
|
||||
@@ -67,7 +67,7 @@ function warnForPlainFunctionType(type) {
|
||||
}
|
||||
monitorCodeUse(
|
||||
'react_non_component_in_jsx',
|
||||
{ version: 2, name: type.name }
|
||||
{ version: 3, name: type.name }
|
||||
);
|
||||
}
|
||||
warning(
|
||||
|
||||
Reference in new issue
Block a user