From 97b8cc1f8376aeb64c170091a118ab862982741c Mon Sep 17 00:00:00 2001 From: Sir Blob <76974209+GamerBoss101@users.noreply.github.com> Date: Sat, 25 Jan 2025 17:39:13 -0500 Subject: [PATCH] yippe 2 --- .../suite/patient/dashboard/MedicationTable.jsx | 14 +------------- src/app/(panels)/suite/patient/dashboard/page.jsx | 3 ++- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/app/(panels)/suite/patient/dashboard/MedicationTable.jsx b/src/app/(panels)/suite/patient/dashboard/MedicationTable.jsx index c790ab4..9a6f5ab 100644 --- a/src/app/(panels)/suite/patient/dashboard/MedicationTable.jsx +++ b/src/app/(panels)/suite/patient/dashboard/MedicationTable.jsx @@ -1,12 +1,5 @@ "use client" -import { - ColumnDef, - flexRender, - getCoreRowModel, - useReactTable, -} from "@tanstack/react-table" - import { Table, TableBody, @@ -16,13 +9,8 @@ import { TableRow, } from "@/components/ui/table" -export function MedicationTable(medications) { +export function MedicationTable({medications}) { - - if (!userData) return