From 072e53f0b2eb8fa14c0aa49286193784c73257cb Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 27 Sep 2022 17:34:12 +0530 Subject: added a brands management page --- src/components/tables/client-table.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 0060184..466316a 100644 --- a/src/components/tables/client-table.js +++ b/src/components/tables/client-table.js @@ -23,9 +23,9 @@ const ClientTable = (props) => { alert("editing coming soon") } - const handleDelete = (i) => { + const handleDelete = (c) => { // TODO: add confirmation prompt - deleteClient(i.Id, handleDelSuccess, handleDelFail); + deleteClient(c.Id, handleDelSuccess, handleDelFail); } const handleDelSuccess = () => { -- cgit v1.2.3