diff --git a/ReactCommon/fabric/mounting/ShadowTree.h b/ReactCommon/fabric/mounting/ShadowTree.h index cc328c4195a..9a87e55d86a 100644 --- a/ReactCommon/fabric/mounting/ShadowTree.h +++ b/ReactCommon/fabric/mounting/ShadowTree.h @@ -5,7 +5,7 @@ #pragma once -#ifdef DEBUG +#ifndef NDEBUG #define RN_SHADOW_TREE_INTROSPECTION #endif