v1.0.1
Rozliczenia
This commit is contained in:
@@ -10,11 +10,13 @@ import Onboarding from './pages/Onboarding.jsx';
|
||||
import Dashboard from './pages/Dashboard.jsx';
|
||||
import AddExpense from './pages/AddExpense.jsx';
|
||||
import History from './pages/History.jsx';
|
||||
import Settlements from './pages/Settlements.jsx';
|
||||
import Stats from './pages/Stats.jsx';
|
||||
import Settings from './pages/Settings.jsx';
|
||||
import BottomNav from './components/BottomNav.jsx';
|
||||
import OfflineBanner from './components/OfflineBanner.jsx';
|
||||
import InstallBanner from './components/InstallBanner.jsx';
|
||||
import SettingsButton from './components/SettingsButton.jsx';
|
||||
|
||||
function RequireAuth() {
|
||||
const { isAuthenticated } = useAuth();
|
||||
@@ -34,6 +36,7 @@ function Layout() {
|
||||
<div className="app-shell">
|
||||
<OfflineBanner />
|
||||
<InstallBanner />
|
||||
<SettingsButton />
|
||||
<main className="app-content">
|
||||
<Outlet />
|
||||
</main>
|
||||
@@ -57,6 +60,7 @@ export default function App() {
|
||||
<Route path="/" element={<Dashboard />} />
|
||||
<Route path="/add" element={<AddExpense />} />
|
||||
<Route path="/history" element={<History />} />
|
||||
<Route path="/settlements" element={<Settlements />} />
|
||||
<Route path="/stats" element={<Stats />} />
|
||||
<Route path="/settings" element={<Settings />} />
|
||||
</Route>
|
||||
|
||||
Reference in New Issue
Block a user