From cccd93b4ed1669139e7c7e8b5ea8e25dd52819b5 Mon Sep 17 00:00:00 2001 From: Soe Lynn Date: Mon, 24 Feb 2025 18:29:31 -0800 Subject: [PATCH] Fix typo in RCTLegacyViewMangerInteropComponentView (#49652) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49652 Changelog [Internal] Fixing simple typo Reviewed By: shwanton Differential Revision: D70136618 fbshipit-source-id: 994b0915c946449a7a01ab15304d35323b58b009 --- .../RCTLegacyViewManagerInteropComponentView.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.mm b/packages/react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.mm index 0c5a3f131cb..72213b685c6 100644 --- a/packages/react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.mm +++ b/packages/react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.mm @@ -97,8 +97,8 @@ static NSString *const kRCTLegacyInteropChildIndexKey = @"index"; + (NSMutableDictionary *)_supportedLegacyViewComponents { - static NSMutableDictionary *suppoerted = [NSMutableDictionary new]; - return suppoerted; + static NSMutableDictionary *supported = [NSMutableDictionary new]; + return supported; } + (BOOL)isSupported:(NSString *)componentName