Allow access without login
Allow users to access the expense and analytics pages without requiring login.
This commit is contained in:
15
src/App.tsx
15
src/App.tsx
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user