From 5d500f4dbcb48dad88e96c28f34459031c54019a Mon Sep 17 00:00:00 2001 From: David Vacca Date: Mon, 15 Feb 2021 21:01:13 -0800 Subject: [PATCH] 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 --- Libraries/ReactNative/PaperUIManager.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Libraries/ReactNative/PaperUIManager.js b/Libraries/ReactNative/PaperUIManager.js index b2f9957f6d3615..afbc60f46b887f 100644 --- a/Libraries/ReactNative/PaperUIManager.js +++ b/Libraries/ReactNative/PaperUIManager.js @@ -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.', - ); } }