feat: Redesign the home page hero section with a new background image and enhanced search UI, and standardize user dashboard routing across the application.
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/userprofile';
|
||||
const dashboardLink = userRole === 'AGENT' ? '/agent/dashboard' : '/user/userdashboard';
|
||||
|
||||
return (
|
||||
<header className="bg-[#648188] rounded-[20px] px-8">
|
||||
|
||||
Reference in New Issue
Block a user