Allow access without login

Allow users to access the expense and analytics pages without requiring login.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 04:59:21 +00:00
parent e17a3199b7
commit a1518db6c0

View File

@@ -1,3 +1,4 @@
import React from 'react';
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
import './App.css';
@@ -89,11 +90,10 @@ function App() {
</PrivateRoute>
} />
<Route path="/settings" element={<Settings />} />
<Route path="/transactions" element={
<PrivateRoute>
<Transactions />
</PrivateRoute>
} />
{/* 지출 페이지는 더 이상 인증이 필요하지 않음 */}
<Route path="/transactions" element={<Transactions />} />
{/* 분석 페이지는 더 이상 인증이 필요하지 않음 */}
<Route path="/analytics" element={<Analytics />} />
<Route path="/security-privacy" element={
<PrivateRoute>
<SecurityPrivacySettings />
@@ -106,11 +106,6 @@ function App() {
} />
<Route path="/help-support" element={<HelpSupport />} />
<Route path="/forgot-password" element={<ForgotPassword />} />
<Route path="/analytics" element={
<PrivateRoute>
<Analytics />
</PrivateRoute>
} />
<Route path="/payment-methods" element={
<PrivateRoute>
<PaymentMethods />