fix bug dashboard bugs & handle request update data in user profile & change design button in home page
This commit is contained in:
@@ -5,8 +5,7 @@ import Head from "@/components/dashboard/userAccount/components/Head";
|
||||
import UpdateBtn from "@/components/dashboard/userAccount/components/UpdateBtn";
|
||||
|
||||
function Disease({ data, setData, updateData, loading }) {
|
||||
const { other } = data;
|
||||
const { disease } = other && other[0];
|
||||
const disease = data && data.other && data.other[0] && data.other[0].disease;
|
||||
const tableHead = ["ردیف", "اسم", "وضعیت", ""];
|
||||
const centerTable = [0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user