summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/router.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/router.tsx b/src/app/router.tsx
index cfd5fcd..87e78ee 100644
--- a/src/app/router.tsx
+++ b/src/app/router.tsx
@@ -31,7 +31,7 @@ const routes = [
{ path: '/proxies', element: <ProxiesPage /> },
{ path: '/rules', element: <RulesPage /> },
{ path: '/about', element: <AboutPage /> },
- process.env.NODE_ENV === 'development' ? { path: '/style', element: <StyleGuidePage /> } : false,
+ import.meta.env.DEV ? { path: '/style', element: <StyleGuidePage /> } : false,
].filter(Boolean) as RouteObject[];
function DashboardRouter() {