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,8 @@ import ModalAddRelatives from "./modal";
|
||||
import ItemRelatives from "./ItemRelatives";
|
||||
|
||||
function Relatives({ data, changeData, loading, updateData }) {
|
||||
const { other } = data;
|
||||
const { relatives } = other && other[0];
|
||||
const relatives =
|
||||
data && data.other && data.other[0] && data.other[0].relatives;
|
||||
const tableHead = ["ردیف", "نام", "نسبت", "شماره تماس", "آدرس", ""];
|
||||
const centerTable = [0];
|
||||
const [open, setOpen] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user