From 82f93cff21355d4d8d4f544f573522489d7b1b92 Mon Sep 17 00:00:00 2001 From: Egor Fedorov Date: Tue, 9 Sep 2025 21:06:05 +0300 Subject: [PATCH] remove devtools --- frontend/src/routes/__root.tsx | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/frontend/src/routes/__root.tsx b/frontend/src/routes/__root.tsx index 9b95057..9211c85 100644 --- a/frontend/src/routes/__root.tsx +++ b/frontend/src/routes/__root.tsx @@ -15,18 +15,20 @@ export const Route = createRootRouteWithContext()({ <> - , - }, - TanStackQueryDevtools, - ]} - /> + {import.meta.env.DEV && ( + , + }, + TanStackQueryDevtools, + ]} + /> + )} ), });