auth more stuff
This commit is contained in:
@@ -31,10 +31,8 @@ export default function Chat() {
|
||||
if (userData.role !== "doctor") {
|
||||
router.push("/suite/patient/dashboard");
|
||||
}
|
||||
} else {
|
||||
router.push("/");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="container mx-auto">
|
||||
<div className="grid gap-4">
|
||||
|
||||
Reference in New Issue
Block a user