mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove log in PaperUIManager
Summary: Removing log in PaperUIManager since this is logging warn messages for "Text" components changelog: [internal] internal Differential Revision: D26315745 fbshipit-source-id: 8871148b0fc1791e1723962f1f2477cd5e0c562d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d71a0be6fa
commit
5d500f4dbc
@@ -39,14 +39,6 @@ function getViewManagerConfig(viewManagerName: string): any {
|
||||
viewManagerConfigs[
|
||||
viewManagerName
|
||||
] = NativeUIManager.getConstantsForViewManager(viewManagerName);
|
||||
|
||||
if (viewManagerConfigs[viewManagerName] === undefined) {
|
||||
console.warn(
|
||||
'Error: Unable to find getConstantsForViewManager for viewManager: ' +
|
||||
viewManagerName +
|
||||
'.',
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(
|
||||
"NativeUIManager.getConstantsForViewManager('" +
|
||||
@@ -78,12 +70,6 @@ function getViewManagerConfig(viewManagerName: string): any {
|
||||
if (result != null && result.viewConfig != null) {
|
||||
getConstants()[viewManagerName] = result.viewConfig;
|
||||
lazifyViewManagerConfig(viewManagerName);
|
||||
} else {
|
||||
console.warn(
|
||||
'Error: Unable to find viewManagerConfigs for viewManager: ' +
|
||||
viewManagerName +
|
||||
' using lazyLoadView.',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user