แก้ router ให้ไปดึงที่ registry ก่อน

This commit is contained in:
AnandaTon 2023-07-28 09:42:50 +07:00
parent 16490e4dce
commit eb5f4d35f6

View file

@ -1354,8 +1354,8 @@ const clickAdd = () => {
};
//
const redirectToPage = (profileId?: string) => {
router.push(`/registryEmployee/edit/${profileId}`);
const redirectToPage = (id?: string) => {
router.push(`/registry/${id}`);
};
const editDetail = async (row: any) => {
await getPosition(row.id);