diff --git a/features/admin.connections.v1/components/authenticator-grid.tsx b/features/admin.connections.v1/components/authenticator-grid.tsx index fe3ac43a797..ecc04f10ff0 100644 --- a/features/admin.connections.v1/components/authenticator-grid.tsx +++ b/features/admin.connections.v1/components/authenticator-grid.tsx @@ -280,7 +280,7 @@ export const AuthenticatorGrid: FunctionComponent { + const handleAuthenticatorDelete = (id: string, connectionType: ConnectionTypes): void => { setIsDeletionLoading(true); @@ -540,7 +540,7 @@ export const AuthenticatorGrid: FunctionComponent setShowDeleteConfirmationModal(false) } onPrimaryActionClick={ - (): void => handleAuthenticatorDelete(deletingIDP.id, deletingIDP.type) + (): void => handleAuthenticatorDelete(deletingIDP.id, deletingIDP.type as ConnectionTypes) } data-testid={ `${ testId }-delete-confirmation-modal` } closeOnDimmerClick={ false }