From: charleswrayjr Date: Tue, 9 Sep 2025 18:05:03 +0000 (-0500) Subject: Creating VPNContext.jsx to share state through all vpn components. X-Git-Url: https://git.phasecustomsoft.com/static/git-favicon.png?a=commitdiff_plain;h=640ef2f89cf4403d7140957b5d0684b0079eee4f;p=phs-admin.git Creating VPNContext.jsx to share state through all vpn components. --- diff --git a/src/app/components/VPN/VPNContext.jsx b/src/app/components/VPN/VPNContext.jsx index 35cdafc..66a246f 100644 --- a/src/app/components/VPN/VPNContext.jsx +++ b/src/app/components/VPN/VPNContext.jsx @@ -67,7 +67,7 @@ export const VPNProvider = ( { children } ) => { handleRevokeClientSubmit }; - return {children} + return {revokeOpen && setRevokeOpen(false)} onConfirm={handleRevokeClientSubmit}/>} {createOpen && setCreateOpen(false)} onCreate={handleCreateClientSubmit}/>} { children };