From 57b6f595d4644f2c535ece0102afba451d092d10 Mon Sep 17 00:00:00 2001 From: Sir Blob <76974209+GamerBoss101@users.noreply.github.com> Date: Sun, 26 Jan 2025 08:04:10 -0500 Subject: [PATCH] DashMore --- .../(panels)/suite/patient/dashboard/page.jsx | 44 ++++++++++++++++--- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/src/app/(panels)/suite/patient/dashboard/page.jsx b/src/app/(panels)/suite/patient/dashboard/page.jsx index a4e211a..de42727 100644 --- a/src/app/(panels)/suite/patient/dashboard/page.jsx +++ b/src/app/(panels)/suite/patient/dashboard/page.jsx @@ -7,6 +7,8 @@ import { useRouter } from 'next/navigation'; import { IntenseChart } from "./IntensityChart" import { MedicationTable } from "./MedicationTable" +import { Card, CardContent, CardHeader } from '@/components/ui/card'; +import { Textarea } from '@/components/ui/textarea'; export default function Dashboard() { @@ -22,11 +24,11 @@ export default function Dashboard() { } }, [user]); - if (userData) { - if (userData.role != "patient") { - router.push("/suite/doctor/dashboard"); - } - } + // if (userData) { + // if (userData.role != "patient") { + // router.push("/suite/doctor/dashboard"); + // } + // } return (
@@ -34,6 +36,38 @@ export default function Dashboard() {
+ + +

How do you feel today?

+
+ +