From 13969a4cd89a124f3351798b4646c654cd52c333 Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Mon, 8 Sep 2025 18:11:32 -0500 Subject: [PATCH] Checking revokeClientName before sending the command to revoke the client. --- src/app/views/VPN/VPN.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/views/VPN/VPN.jsx b/src/app/views/VPN/VPN.jsx index 63d229e..35ca8be 100644 --- a/src/app/views/VPN/VPN.jsx +++ b/src/app/views/VPN/VPN.jsx @@ -42,7 +42,8 @@ const VPN = () => { const handleRevokeClientSubmit = async (e) => { e.preventDefault(); - setMessage( await VPNService.revokeClient(revokeClientName) ); + console.log(revokeClientName); + // setMessage( await VPNService.revokeClient(revokeClientName, fetchClients ) ); }; return ( -- 2.43.0