summaryrefslogtreecommitdiff
path: root/apps/web/src/components/development-debug.tsx
diff options
context:
space:
mode:
authortranminhquang <tranminhquang4421@gmail.com>2025-07-15 13:29:16 +0700
committertranminhquang <tranminhquang4421@gmail.com>2025-07-15 13:29:16 +0700
commit9d5fb821c75dd2f0c0d3da6fb427db966d3c7358 (patch)
tree96ebbdd997f69a57aa0ab6390966ab784bd135be /apps/web/src/components/development-debug.tsx
parent55978c30fa8629840995922e76a98ad4b2045b80 (diff)
downloadopencut-9d5fb821c75dd2f0c0d3da6fb427db966d3c7358.tar.gz
feat: integrate @t3-oss/env for environment variable management across the application
Diffstat (limited to 'apps/web/src/components/development-debug.tsx')
-rw-r--r--apps/web/src/components/development-debug.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web/src/components/development-debug.tsx b/apps/web/src/components/development-debug.tsx
index 3b891e38..62e606ff 100644
--- a/apps/web/src/components/development-debug.tsx
+++ b/apps/web/src/components/development-debug.tsx
@@ -7,9 +7,10 @@ import { usePlaybackStore } from "@/stores/playback-store";
import { Button } from "@/components/ui/button";
import { useState } from "react";
import type { TimelineElement } from "@/types/timeline";
+import { env } from "@/env";
// Only show in development
-const SHOW_DEBUG_INFO = process.env.NODE_ENV === "development";
+const SHOW_DEBUG_INFO = env.NODE_ENV === "development";
interface ActiveElement {
element: TimelineElement;