about summary refs log tree commit diff
path: root/src/env.ts
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-12-13 17:16:53 +0000
committerGitHub <noreply@github.com>2024-12-13 17:16:53 +0000
commit356dad1932c3404f581b747127ae251dbe165bb3 (patch)
treed966d4c5fd4645f9897a984a018d7258399e1674 /src/env.ts
parente2a7965e438db9f70d76d2d7a911aa4c4a42c122 (diff)
downloadvoidsky-356dad1932c3404f581b747127ae251dbe165bb3.tar.zst
Remove the environment indirections (#7089)
* Use raw underlying globals for environment

* Set dev EXPO_PUBLIC_ENV by exclusion
Diffstat (limited to 'src/env.ts')
-rw-r--r--src/env.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/env.ts b/src/env.ts
index 4d1b55a4e..32ce70670 100644
--- a/src/env.ts
+++ b/src/env.ts
@@ -1,5 +1,3 @@
-export const IS_DEV = __DEV__
-export const IS_PROD = !IS_DEV
 export const LOG_DEBUG = process.env.EXPO_PUBLIC_LOG_DEBUG || ''
 export const LOG_LEVEL = (process.env.EXPO_PUBLIC_LOG_LEVEL || 'info') as
   | 'debug'