mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
[Logs] Remove already registered warning
This commit is contained in:
parent
b888e8db40
commit
1ca1a44a07
@ -246,12 +246,6 @@ id<RCTJavaScriptExecutor> RCTGetLatestExecutor(void)
|
||||
"'%@', but name was already registered by class %@", moduleClass,
|
||||
moduleName, [modulesByName[moduleName] class]);
|
||||
}
|
||||
if ([module class] != moduleClass) {
|
||||
RCTLogInfo(@"RCTBridgeModule of class %@ with name '%@' was encountered "
|
||||
"in the project, but name was already registered by class %@."
|
||||
"That's fine if it's intentional - just letting you know.",
|
||||
moduleClass, moduleName, [modulesByName[moduleName] class]);
|
||||
}
|
||||
} else {
|
||||
// Module name hasn't been used before, so go ahead and instantiate
|
||||
module = [moduleClass new];
|
||||
|
Loading…
x
Reference in New Issue
Block a user