diff --git a/packages/nitrogen/src/views/ViewComponentShadowNode.ts b/packages/nitrogen/src/views/ViewComponentShadowNode.ts index 5fe076fc..292978a9 100644 --- a/packages/nitrogen/src/views/ViewComponentShadowNode.ts +++ b/packages/nitrogen/src/views/ViewComponentShadowNode.ts @@ -62,10 +62,9 @@ ${createFileMetadataString(`${component}.hpp`)} #pragma once -#include "NitroDefines.hpp" - #if REACT_NATIVE_VERSION >= 78 +#include "NitroDefines.hpp" #include "NitroHash.hpp" #include #include diff --git a/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/TestViewComponent.hpp b/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/TestViewComponent.hpp index 67083576..fd75ba8b 100644 --- a/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/TestViewComponent.hpp +++ b/packages/react-native-nitro-image/nitrogen/generated/shared/c++/views/TestViewComponent.hpp @@ -7,10 +7,9 @@ #pragma once -#include "NitroDefines.hpp" - #if REACT_NATIVE_VERSION >= 78 +#include "NitroDefines.hpp" #include "NitroHash.hpp" #include #include