diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-27 17:34:12 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-27 17:34:12 +0530 |
commit | 072e53f0b2eb8fa14c0aa49286193784c73257cb (patch) | |
tree | eaf151ed3c248a5af730cbf5c0b950794ccace1f /src/components/tables/client-table.js | |
parent | 24bb92944849ac2ddf2f777d52c23a150eedffe8 (diff) |
added a brands management page
Diffstat (limited to 'src/components/tables/client-table.js')
-rw-r--r-- | src/components/tables/client-table.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 = () => { |