From 39819430fa47172c1a3a36218339f6baf86f8983 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 27 Sep 2022 21:42:51 +0530 Subject: added edit option for items and brands --- src/components/tables/client-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/tables/client-table.js') diff --git a/src/components/tables/client-table.js b/src/components/tables/client-table.js index 466316a..ffbf5e8 100644 --- a/src/components/tables/client-table.js +++ b/src/components/tables/client-table.js @@ -20,7 +20,7 @@ import { deleteClient } from './../../classes/client'; const ClientTable = (props) => { const handleEdit = (i) => { - alert("editing coming soon") + props.setItemToEdit(i) } const handleDelete = (c) => { -- cgit v1.2.3