From 94f1d7b6b3789c17b1213825327d92467c0743da Mon Sep 17 00:00:00 2001 From: geodevcode Date: Tue, 14 Jan 2025 18:29:39 +0100 Subject: [PATCH] function name renamed --- app/components/admin-components/UsersDetails.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/admin-components/UsersDetails.tsx b/app/components/admin-components/UsersDetails.tsx index 23230bf..ad1329b 100644 --- a/app/components/admin-components/UsersDetails.tsx +++ b/app/components/admin-components/UsersDetails.tsx @@ -26,7 +26,7 @@ export default function UsersDetails({ token, userId }: UsersDetailsProps) { }); // Delete User Request Logic - const handleDeleteUserRequest = async () => { + const deleteUserHandler = async () => { setIsDeleting(true); try { const response = await DeleteUserRequest(userId, token); @@ -203,12 +203,12 @@ export default function UsersDetails({ token, userId }: UsersDetailsProps) { {/* === Submit Button === */}