Detail User

This commit is contained in:
2021-12-21 16:57:34 +07:00
parent ad3b7c6be0
commit e513621fc4
6 changed files with 411 additions and 70 deletions

View File

@@ -96,6 +96,20 @@ export const ProductComponent = observer((props) => {
</Tag>
),
},
{
title: "Action",
key: "action",
render: (text, record) => (
<Button
onClick={async () => {
history.push(LINKS.DETAILPRODUCT.replace(":id", record.id));
//console.log(record.id)
}}
>
Detail
</Button>
),
},
];
const deleteData = async (id) => {