From 04ac2cc7d01c93f7711bc0427fde3a46a4227dfb Mon Sep 17 00:00:00 2001 From: Douglas Duteil Date: Tue, 28 Nov 2023 11:26:55 +0000 Subject: [PATCH] fix(front): missing oidcClientForm --- front/src/providers/connectedSpaces/EspaceConnected.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/providers/connectedSpaces/EspaceConnected.tsx b/front/src/providers/connectedSpaces/EspaceConnected.tsx index 1aa131b..3f9f3b7 100644 --- a/front/src/providers/connectedSpaces/EspaceConnected.tsx +++ b/front/src/providers/connectedSpaces/EspaceConnected.tsx @@ -11,7 +11,8 @@ import { ProviderValidation } from '../details/ProviderValidation'; import { OidcClientFormContext } from '../details/oidc-client-form.context'; export const EspaceConnected = () => { - const { oidcClientForm: {clientName} } = useContext(OidcClientFormContext); + const { oidcClientForm } = useContext(OidcClientFormContext); + const { clientName } = oidcClientForm; return ( <>