From c4dafb3eb749681b284bd8b9827ec7fc9043fa7b Mon Sep 17 00:00:00 2001 From: ssb-jnk Date: Mon, 5 Feb 2024 16:05:34 +0100 Subject: [PATCH] add login for dev env only --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 04da9cc5..8eb527ec 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,7 +11,7 @@ import { Routes, Route } from 'react-router-dom' export default function App() { return ( - } /> + {import.meta.env.NODE_ENV !== 'production' && } />} }> {/* Possibly setup passable props to ProtectedRoute so we can add authorization too, example: