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