Skip to content

Commit

Permalink
Remove log in PaperUIManager
Browse files Browse the repository at this point in the history
Summary:
Removing log in PaperUIManager since this is logging warn messages for "Text" components

changelog: [internal] internal

Differential Revision: D26315745

fbshipit-source-id: 8871148b0fc1791e1723962f1f2477cd5e0c562d
  • Loading branch information
mdvacca authored and facebook-github-bot committed Feb 16, 2021
1 parent d71a0be commit 5d500f4
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Libraries/ReactNative/PaperUIManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('" +
Expand Down Expand Up @@ -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.',
);
}
}

Expand Down

0 comments on commit 5d500f4

Please sign in to comment.