diff --git a/features/admin.applications.v1/components/settings/sign-on-methods/components/sign-on-methods-core.tsx b/features/admin.applications.v1/components/settings/sign-on-methods/components/sign-on-methods-core.tsx index ead8bef6ff7..acc0083cb6a 100644 --- a/features/admin.applications.v1/components/settings/sign-on-methods/components/sign-on-methods-core.tsx +++ b/features/admin.applications.v1/components/settings/sign-on-methods/components/sign-on-methods-core.tsx @@ -924,32 +924,32 @@ export const SignOnMethodsCore: FunctionComponent ); - } else { - return ( - void, template: any) => { - setSelectedIDPTemplate(template); - setIDPCreateWizardTriggerOrigin("EXTERNAL"); - setIDPTemplateTypeToTrigger(type); - setShowMissingSocialAuthenticatorModal(false); - setShowIDPCreateWizard(true); - broadcastIDPCreateSuccessMessage = cb; - } } - onUpdate={ onUpdate } - onReset={ handleLoginFlowReset } - data-componentid={ componentId } - isLoading={ isAuthenticatorsFetchRequestLoading } - setIsLoading={ setIsAuthenticatorsFetchRequestLoading } - readOnly={ readOnly } - /> - ); } + + return ( + void, template: any) => { + setSelectedIDPTemplate(template); + setIDPCreateWizardTriggerOrigin("EXTERNAL"); + setIDPTemplateTypeToTrigger(type); + setShowMissingSocialAuthenticatorModal(false); + setShowIDPCreateWizard(true); + broadcastIDPCreateSuccessMessage = cb; + } } + onUpdate={ onUpdate } + onReset={ handleLoginFlowReset } + data-componentid={ componentId } + isLoading={ isAuthenticatorsFetchRequestLoading } + setIsLoading={ setIsAuthenticatorsFetchRequestLoading } + readOnly={ readOnly } + /> + ); }; return (