Skip to content

Commit

Permalink
fix ReferenceError: Property '_IS_FABRIC' doesn't exist (#5065)
Browse files Browse the repository at this point in the history
fixes
#5061

Co-authored-by: Efstathios Ntonas <[email protected]>
  • Loading branch information
efstathiosntonas and Efstathios Ntonas authored Sep 12, 2023
1 parent 1613c85 commit cee6f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reanimated2/NativeMethods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if (isWeb()) {
return null;
}

const measured = _IS_FABRIC
const measured = global._IS_FABRIC
? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
_measureFabric!(viewTag as ShadowNodeWrapper)
: // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
Expand Down

0 comments on commit cee6f23

Please sign in to comment.