Disable the onboarding process and improve database queries

Temporarily disable OnboardingPage route/component and refine task/financial record queries in DatabaseStorage to handle undefined rowCount.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 556aa286-edd2-4cea-8583-f4fc3cfd119b
This commit is contained in:
ghaddaditw
2025-05-30 17:10:09 +00:00
parent cced901e9a
commit de12c6e3df
3 changed files with 20 additions and 26 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import { ThemeProvider } from "@/context/ThemeContext";
import LandingPage from "@/pages/LandingPage";
import DashboardPage from "@/pages/DashboardPage";
import LoginPage from "@/pages/LoginPage";
import OnboardingPage from "@/pages/OnboardingPage";
// import OnboardingPage from "@/pages/OnboardingPage";
import NotFound from "@/pages/not-found";
function Router() {
@@ -16,7 +16,7 @@ function Router() {
<Switch>
<Route path="/" component={LandingPage} />
<Route path="/login" component={LoginPage} />
<Route path="/onboarding" component={OnboardingPage} />
{/* <Route path="/onboarding" component={OnboardingPage} /> */}
<Route path="/dashboard" component={DashboardPage} />
<Route component={NotFound} />
</Switch>