refactor: Standardize user dashboard path to /user/dashboard and refine HeroSection helper text styling.
This commit is contained in:
@@ -20,7 +20,7 @@ export function CommonHeader() {
|
||||
const userRole = (session?.user as any)?.role;
|
||||
|
||||
// Determine dashboard link based on user role
|
||||
const dashboardLink = userRole === 'AGENT' ? '/agent/dashboard' : '/user/userdashboard';
|
||||
const dashboardLink = userRole === 'AGENT' ? '/agent/dashboard' : '/user/dashboard';
|
||||
|
||||
return (
|
||||
<header className="bg-[#648188] rounded-[20px] px-8">
|
||||
|
||||
Reference in New Issue
Block a user