Skip to content

Commit 5830d80

Browse files
Add missing RCT_REMOVE_LEGACY_COMPONENT_INTEROP guard to LegacyViewManagerInteropComponentDescriptor
Summary: The iOS `LegacyViewManagerInteropComponentDescriptor.h` was missing the `RCT_REMOVE_LEGACY_COMPONENT_INTEROP` guard that the rest of the `legacyviewmanagerinterop` library already uses, so enabling that flag failed to compile. Add the guard for consistency. Changelog: [iOS][Fixed] - Add missing `RCT_REMOVE_LEGACY_COMPONENT_INTEROP` guard to `LegacyViewManagerInteropComponentDescriptor` Differential Revision: D107717474
1 parent 2b6f605 commit 5830d80

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/react-native/ReactCommon/react/renderer/components/legacyviewmanagerinterop/platform/ios/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#pragma once
99

10+
#ifndef RCT_REMOVE_LEGACY_COMPONENT_INTEROP
11+
1012
#include <react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropShadowNode.h>
1113
#include <react/renderer/core/ConcreteComponentDescriptor.h>
1214

@@ -33,3 +35,5 @@ class LegacyViewManagerInteropComponentDescriptor final
3335
};
3436

3537
} // namespace facebook::react
38+
39+
#endif // RCT_REMOVE_LEGACY_COMPONENT_INTEROP

0 commit comments

Comments
 (0)