Enable user authentication and authorization throughout the application

Refactors authentication logic into AuthContext and removes useAuth hook.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 556aa286-edd2-4cea-8583-f4fc3cfd119b
This commit is contained in:
ghaddaditw
2025-05-30 17:11:54 +00:00
parent 51d13203fd
commit 99977d5f56
3 changed files with 4 additions and 11 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();