From 4ae4e874689a71e33cdd7a5799fc0c85c4861367 Mon Sep 17 00:00:00 2001
From: Joseph Ditton <jditton.atomic@gmail.com>
Date: Mon, 22 Nov 2021 14:21:53 -0700
Subject: adds start for console

---
 client/components/router.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'client/components/router.jsx')

diff --git a/client/components/router.jsx b/client/components/router.jsx
index 6760bea..59ea7c3 100644
--- a/client/components/router.jsx
+++ b/client/components/router.jsx
@@ -7,12 +7,12 @@ import { SignUp } from './sign_up/_sign_up';
 
 export const Router = () => {
   const [settings] = useContext(SettingsContext);
-  const { JWT } = settings;
+  const { jwt } = settings;
   return (
     <Routes>
       <Route
         path="/"
-        element={JWT ? <Home /> : <Navigate replace to="signin" />} // no JWT means not logged in
+        element={jwt ? <Home /> : <Navigate replace to="signin" />} // no jwt means not logged in
       />
       <Route path="signin" element={<SignIn />} />
       <Route path="signup" element={<SignUp />} />
-- 
cgit v1.2.3-70-g09d2

