Skip to content

Commit

Permalink
Improve IdVP feature - address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaShakthi97 committed Oct 7, 2024
1 parent 10e7695 commit 7fe3310
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export const AuthenticatorGrid: FunctionComponent<AuthenticatorGridPropsInterfac
*
* @param id - Authenticator ID.
*/
const handleAuthenticatorDelete = (id: string, connectionType: string): void => {
const handleAuthenticatorDelete = (id: string, connectionType: ConnectionTypes): void => {

setIsDeletionLoading(true);

Expand Down Expand Up @@ -540,7 +540,7 @@ export const AuthenticatorGrid: FunctionComponent<AuthenticatorGridPropsInterfac
secondaryAction={ t("common:cancel") }
onSecondaryActionClick={ (): void => 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 }
Expand Down

0 comments on commit 7fe3310

Please sign in to comment.