Add client company dashboard as landing page

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Krao Hasanee
2026-03-27 00:04:49 -04:00
parent 5782f42712
commit 1e1e29ad99
4 changed files with 104 additions and 1 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export default function Login() {
useEffect(() => {
if (currentUser) {
navigate(currentUser.role === 'team' ? '/dashboard' : '/my-projects', { replace: true });
navigate(currentUser.role === 'team' ? '/dashboard' : '/my-company', { replace: true });
}
}, [currentUser, navigate]);