From 9dfe5fb2e629d33747ba825dfcc59653c3313e7e Mon Sep 17 00:00:00 2001 From: Grant Date: Fri, 12 Jul 2024 19:00:02 -0600 Subject: [PATCH] hide debug tools if not in development mode (fixes #81) --- packages/client/src/components/Header/Header.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/Header/Header.tsx b/packages/client/src/components/Header/Header.tsx index 049cb01..f9a2b91 100644 --- a/packages/client/src/components/Header/Header.tsx +++ b/packages/client/src/components/Header/Header.tsx @@ -42,7 +42,9 @@ const HeaderLeft = () => {
- + {import.meta.env.DEV && ( + + )}
); };