Replace YellowBox references with LogBox
Summary: This diff replaces some YellowBox references with LogBox so we can remove it. Changelog: [Internal] Reviewed By: motiz88 Differential Revision: D19948126 fbshipit-source-id: b26ad1b78d86a8290f7e08396e4a8314fef7a9f3
This commit is contained in:
Родитель
af710ab177
Коммит
96f19a3d89
|
@ -29,7 +29,7 @@ const RCTLog = {
|
|||
if (typeof global.nativeLoggingHook === 'undefined') {
|
||||
RCTLog.logToConsole(level, ...args);
|
||||
} else {
|
||||
// Report native warnings to YellowBox
|
||||
// Report native warnings to LogBox
|
||||
if (warningHandler && level === 'warn') {
|
||||
warningHandler(...args);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче