From 49d5277afc245a8813d4e29b90cf7f487244f676 Mon Sep 17 00:00:00 2001 From: fabriziobertoglio1987 Date: Mon, 23 Jan 2023 10:21:52 -0800 Subject: [PATCH] remove duplicate role grid from RCTViewManager (#35932) Summary: Fix warning: duplicate key in dictionary literal. Different PRs tried to fix this issue at the same time and introduced a duplicate. Related https://github.com/fabriziobertoglio1987/react-native/commit/55c0df43b9859853e41b6e2ef271b78b783538f0 https://github.com/fabriziobertoglio1987/react-native/commit/f3d9f2ea233304870bd4ab67d9682af6eb0ae16f ## Changelog [IOS] [FIXED] - remove duplicate role grid from RCTViewManager Pull Request resolved: https://github.com/facebook/react-native/pull/35932 Test Plan: duplicated grid role on iOS Reviewed By: sammy-SC Differential Revision: D42677641 Pulled By: jacdebug fbshipit-source-id: f3eaa99ce89d7f9602843fde0dc0f371300e7052 --- React/Views/RCTViewManager.m | 1 - 1 file changed, 1 deletion(-) diff --git a/React/Views/RCTViewManager.m b/React/Views/RCTViewManager.m index a12aeb42dd8..e50b4c19d91 100644 --- a/React/Views/RCTViewManager.m +++ b/React/Views/RCTViewManager.m @@ -64,7 +64,6 @@ RCT_MULTI_ENUM_CONVERTER( @"tablist" : @(UIAccessibilityTraitNone), @"timer" : @(UIAccessibilityTraitNone), @"toolbar" : @(UIAccessibilityTraitNone), - @"grid" : @(UIAccessibilityTraitNone), @"pager" : @(UIAccessibilityTraitNone), @"scrollview" : @(UIAccessibilityTraitNone), @"horizontalscrollview" : @(UIAccessibilityTraitNone),