Skip to content

Commit

Permalink
fix: Includes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jan 15, 2025
1 parent 56f2577 commit e962322
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/nitrogen/src/views/ViewComponentShadowNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ ${createFileMetadataString(`${component}.hpp`)}
#if REACT_NATIVE_VERSION >= 78
#include "NitroDefines.hpp"
#include "NitroHash.hpp"
#include <optional>
#include <NitroModules/NitroDefines.hpp>
#include <NitroModules/NitroHash.hpp>
#include <react/renderer/core/ConcreteComponentDescriptor.h>
#include <react/renderer/core/PropsParserContext.h>
#include <react/renderer/components/view/ConcreteViewShadowNode.h>
Expand Down Expand Up @@ -171,7 +171,7 @@ namespace ${namespace} {
${createFileMetadataString(`${component}.cpp`)}
#include "${component}.hpp"
#include "JSIConverter.hpp"
#include <NitroModules/JSIConverter.hpp>
#if REACT_NATIVE_VERSION >= 78
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
///

#include "TestViewComponent.hpp"
#include "JSIConverter.hpp"
#include <NitroModules/JSIConverter.hpp>

#if REACT_NATIVE_VERSION >= 78

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

#if REACT_NATIVE_VERSION >= 78

#include "NitroDefines.hpp"
#include "NitroHash.hpp"
#include <optional>
#include <NitroModules/NitroDefines.hpp>
#include <NitroModules/NitroHash.hpp>
#include <react/renderer/core/ConcreteComponentDescriptor.h>
#include <react/renderer/core/PropsParserContext.h>
#include <react/renderer/components/view/ConcreteViewShadowNode.h>
Expand Down

0 comments on commit e962322

Please sign in to comment.