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:
@@ -22,7 +22,7 @@ export default function Home() {
|
||||
if (userRole === 'AGENT') {
|
||||
router.replace('/agent/dashboard');
|
||||
} else {
|
||||
router.replace('/user/userprofile');
|
||||
router.replace('/user/userdashboard');
|
||||
}
|
||||
}, [session, status, router]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user