diff --git a/src/reanimated2/PlatformChecker.ts b/src/reanimated2/PlatformChecker.ts index e6890923263..f0c9757db92 100644 --- a/src/reanimated2/PlatformChecker.ts +++ b/src/reanimated2/PlatformChecker.ts @@ -13,7 +13,7 @@ export function isWeb(): boolean { } export function shouldBeUseWeb() { - return isJest() || isChromeDebugger() || isWeb() || (global as any).__DEV__ && process.env.REANIMATED_WEB === 'true'); + return isJest() || isChromeDebugger() || isWeb() || ((global as any).__DEV__ && process.env.REANIMATED_WEB === 'true'); } export function nativeShouldBeMock() {