aboutsummaryrefslogtreecommitdiff
path: root/src/components/tables/client-table.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/tables/client-table.js')
-rw-r--r--src/components/tables/client-table.js4
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 = () => {