diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-27 21:42:51 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-27 21:42:51 +0530 |
commit | 39819430fa47172c1a3a36218339f6baf86f8983 (patch) | |
tree | dafe65a48fcceb60b588c613e2d92be4c514633b /src/components/tables/item-table.js | |
parent | 072e53f0b2eb8fa14c0aa49286193784c73257cb (diff) |
added edit option for items and brands
Diffstat (limited to 'src/components/tables/item-table.js')
-rw-r--r-- | src/components/tables/item-table.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/tables/item-table.js b/src/components/tables/item-table.js index e42b272..208fd9c 100644 --- a/src/components/tables/item-table.js +++ b/src/components/tables/item-table.js @@ -22,7 +22,7 @@ import { faPencil, faTrashCan } from '@fortawesome/free-solid-svg-icons' const ItemTable = (props) => { const handleEdit = (i) => { - alert("editing coming soon") + props.setItemToEdit(i) } const handleDelete = (i) => { |