From af86b42527545ee5b9c0c1db55c19650a6101839 Mon Sep 17 00:00:00 2001 From: Saad Najmi Date: Tue, 22 Aug 2023 23:27:44 -0700 Subject: [PATCH] Fix some issues --- Libraries/Components/TextInput/TextInput.js | 2 -- React/Base/RCTBundleURLProvider.h | 2 +- yarn.lock | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index d489dae8810e28..53448f64eb9f9a 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -1579,8 +1579,6 @@ function InternalTextInput(props: Props): React.Node { let style = flattenStyle(props.style); - let style = flattenStyle(props.style); - if (Platform.OS === 'ios' || Platform.OS === 'macos') { // [macOS] const RCTTextInputView = diff --git a/React/Base/RCTBundleURLProvider.h b/React/Base/RCTBundleURLProvider.h index d6a9908590eebe..4ef061ca857fdd 100644 --- a/React/Base/RCTBundleURLProvider.h +++ b/React/Base/RCTBundleURLProvider.h @@ -22,7 +22,7 @@ RCT_EXTERN const NSUInteger kRCTBundleURLProviderDefaultPort; RCT_EXTERN void RCTBundleURLProviderAllowPackagerServerAccess(BOOL allowed); #endif -extern NSString *const kRCTPlatformName; // [macOS] +extern static NSString *const kRCTPlatformName; // [macOS] @interface RCTBundleURLProvider : NSObject diff --git a/yarn.lock b/yarn.lock index 5b8b9e86237352..bf6ca93d7d020a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1684,7 +1684,7 @@ serve-static "^1.13.1" ws "^7.5.1" -"@react-native-community/cli-tools@10.1.1", "@react-native-community/cli-tools@^10.1.1": +"@react-native-community/cli-tools@^10.1.1": version "10.1.1" resolved "https://registry.yarnpkg.com/@react-native-community/cli-tools/-/cli-tools-10.1.1.tgz#fa66e509c0d3faa31f7bb87ed7d42ad63f368ddd" integrity sha512-+FlwOnZBV+ailEzXjcD8afY2ogFEBeHOw/8+XXzMgPaquU2Zly9B+8W089tnnohO3yfiQiZqkQlElP423MY74g==