mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix typo in error handler (#24940)
Summary: Fixes a typo! ## Changelog [Android] [Fixed] - Typo in NativeModuleRegistryBuilder error handler Pull Request resolved: https://github.com/facebook/react-native/pull/24940 Differential Revision: D15411931 Pulled By: cpojer fbshipit-source-id: c5d9305e00160a3a2e8619188ccff77a5b39e910
This commit is contained in:
committed by
Facebook Github Bot
parent
5a30c2a205
commit
2231263b8b
@@ -52,7 +52,7 @@ public class NativeModuleRegistryBuilder {
|
||||
+ name
|
||||
+ " tried to override "
|
||||
+ existingNativeModule.getClassName()
|
||||
+ " for module name .Check the getPackages() method in MainApplication.java, it might be that module is being created twice. If this was your intention, set canOverrideExistingModule=true");
|
||||
+ ". Check the getPackages() method in MainApplication.java, it might be that module is being created twice. If this was your intention, set canOverrideExistingModule=true");
|
||||
}
|
||||
mModules.remove(existingNativeModule);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user