Bumping version to help filtering.
This commit is contained in:
parent
63046277e4
commit
4af98990db
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue