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 ItemSurgeries from "./ItemSurgeries";
|
||||
import ModalAddSurgeries from "./modal";
|
||||
|
||||
function Surgeries({ data, changeData, loading, updateData }) {
|
||||
const { other } = data;
|
||||
const { surgeries } = other && other[0];
|
||||
const surgeries =
|
||||
data && data.other && data.other[0] && data.other[0].surgeries;
|
||||
const tableHead = [
|
||||
"ردیف",
|
||||
"نوع جراحی",
|
||||
|
||||
Reference in New Issue
Block a user