diff --git a/packages/react-native/ReactCommon/react/renderer/core/ShadowNodeFamily.h b/packages/react-native/ReactCommon/react/renderer/core/ShadowNodeFamily.h index d32b4458c0b..898ae5bcdcf 100644 --- a/packages/react-native/ReactCommon/react/renderer/core/ShadowNodeFamily.h +++ b/packages/react-native/ReactCommon/react/renderer/core/ShadowNodeFamily.h @@ -9,7 +9,6 @@ #include #include -#include #include #include @@ -145,7 +144,7 @@ class ShadowNodeFamily final : public jsi::NativeState { EventDispatcher::Weak eventDispatcher_; std::shared_ptr mostRecentState_; - mutable std::shared_mutex mutex_; + mutable std::mutex mutex_; std::function onUnmountedFamilyDestroyedCallback_ = nullptr;