Improve user experience and fix database queries for financial data

Fixes a bug when a user isn't logged in, and optimizes financial data retrieval and AI interaction queries.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 556aa286-edd2-4cea-8583-f4fc3cfd119b
This commit is contained in:
ghaddaditw
2025-05-30 17:10:55 +00:00
parent de12c6e3df
commit 51d13203fd
2 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ import {
export default function LandingPage() {
const [, setLocation] = useLocation();
const { user } = useAuth();
const { user } = useAuth() || {};
const { isListening, startListening, stopListening, isSupported } = useVoice();
const { theme } = useTheme();