From 7fe33104b63800db89ecdeb87666136ca897b765 Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Mon, 7 Oct 2024 10:37:19 +0530 Subject: [PATCH] Improve IdVP feature - address review comments --- .../admin.connections.v1/components/authenticator-grid.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }