Skip to content

Commit c99eeef

Browse files
committed
about page visible to everyone
1 parent 6ceccfe commit c99eeef

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/App.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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 />} />

0 commit comments

Comments
 (0)