diff --git a/React/Fabric/RCTSurfaceRegistry.h b/React/Fabric/RCTSurfaceRegistry.h index 06be8d5d581..c98ba0624c9 100644 --- a/React/Fabric/RCTSurfaceRegistry.h +++ b/React/Fabric/RCTSurfaceRegistry.h @@ -17,9 +17,9 @@ typedef void(^RCTSurfaceEnumeratorBlock)(NSEnumerator *enume /** * Registry of Surfaces. - * Incapsulates storing Surface objects and quering them by root tag. + * Incapsulates storing Surface objects and querying them by root tag. * All methods of the registry are thread-safe. - * The registry stores Surface objects as weak refereces. + * The registry stores Surface objects as weak references. */ @interface RCTSurfaceRegistry : NSObject @@ -38,7 +38,7 @@ typedef void(^RCTSurfaceEnumeratorBlock)(NSEnumerator *enume /** * Returns stored Surface object by given root tag. - * If the registry does not have such Surface registred, returns `nil`. + * If the registry does not have such Surface registered, returns `nil`. */ - (nullable RCTFabricSurface *)surfaceForRootTag:(ReactTag)rootTag; diff --git a/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.h b/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.h index 4c05f2ff107..05e0af4b6e4 100644 --- a/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.h +++ b/ReactCommon/turbomodule/core/platform/ios/RCTTurboModule.h @@ -91,7 +91,6 @@ private: // TODO: Consolidate this extension with the one in RCTSurfacePresenter. @interface RCTBridge () -- (std::shared_ptr)jsMessageThread; - (std::weak_ptr)reactInstance; @end