From 91899bb109a98ead5fbc7b4a7c4d3532ab5a7025 Mon Sep 17 00:00:00 2001 From: Xevion Date: Sat, 13 Sep 2025 21:35:29 -0500 Subject: [PATCH] fix: limit devtools panel to dev mode --- web/src/routes/__root.tsx | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/web/src/routes/__root.tsx b/web/src/routes/__root.tsx index 17d5e61..5aee41b 100644 --- a/web/src/routes/__root.tsx +++ b/web/src/routes/__root.tsx @@ -15,17 +15,19 @@ export const Route = createRootRoute({ > - , - }, - ]} - /> + {import.meta.env.DEV ? ( + , + }, + ]} + /> + ) : null} ),