Add client dashboard page, restore MyCompany to people+edit only

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