File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,6 @@ const App: React.FC = () => {
4848 )
4949 }
5050
51- function AdminAbout ( ) {
52- return isLoggedIn ? < About /> : < Login auth = { auth } />
53- }
54-
5551 function StatsPage ( ) {
5652 return (
5753 < Suspense fallback = { < div className = "flex min-h-full flex-col gap-2 bg-slate-200 p-4" > Loading...</ div > } >
@@ -77,7 +73,7 @@ const App: React.FC = () => {
7773 < Route path = "/" element = { < Map /> } />
7874 < Route path = "/login" element = { < LoginPage /> } />
7975 < Route path = "/stats" element = { < StatsPage /> } />
80- < Route path = "/about" element = { < AdminAbout /> } />
76+ < Route path = "/about" element = { < About /> } />
8177 < Route path = "/admin" element = { < Navigate to = "/login" /> } />
8278 < Route path = "/admin/dash" element = { < AdminDash /> } />
8379 < Route path = "/admin/analytics" element = { < AdminAnalytics /> } />
You can’t perform that action at this time.
0 commit comments