summaryrefslogtreecommitdiff
path: root/apps/web/src/components/development-debug.tsx
diff options
context:
space:
mode:
authorMaze <167211895+mazeincoding@users.noreply.github.com>2025-07-15 12:20:55 +0200
committerGitHub <noreply@github.com>2025-07-15 12:20:55 +0200
commit0e83b6c15eb0318cf5c53373492a6740e521eb24 (patch)
tree0ece838aaaf4071a8ed32804d04edfef0076fec3 /apps/web/src/components/development-debug.tsx
parentd7c764f96884284ae6424c3a39f87688faf9af5d (diff)
parent9d5fb821c75dd2f0c0d3da6fb427db966d3c7358 (diff)
downloadopencut-0e83b6c15eb0318cf5c53373492a6740e521eb24.tar.gz
Merge pull request #272 from vietnamesekid/main
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;