import CustomTable from "@/app/component/CustomTable"; import Head from "@/components/dashboard/userAccount/components/Head"; import { useState } from "react"; import ItemMedication from "./ItemMedication"; import ModalAddMedications from "./modal"; function Medications({ data, changeData, updateData, loading }) { const medications = data && data.other && data.other.medications; const tableHead = ["ردیف", "نام دارو", "دوز مصرفی", "تعداد و زمان مصرف", ""]; const centerTable = [0]; const [open, setOpen] = useState(false); return (
هیچ داروی مصرفی وجود ندارد!
)}