diff --git a/src/components/EditStaff/EditStaff.tsx b/src/components/EditStaff/EditStaff.tsx index 4c032cc..0aa3428 100644 --- a/src/components/EditStaff/EditStaff.tsx +++ b/src/components/EditStaff/EditStaff.tsx @@ -216,12 +216,13 @@ const EditStaff: React.FC = async () => { required: true, }; case "salary": + // console.log("salary", data[key]) return { id: `salaryId`, label: t(`Salary Point`), type: "combo-Obj", options: salaryCombo, - value: data[key]?.id ?? "", + value: data[key]?.salaryPoint ?? "", required: true, }; // case "hourlyRate":