Skip to content

Commit

Permalink
Prevent delete call being sent on clicking on push authenticator details
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan authored Feb 7, 2025
1 parent 76c7eda commit 2fce301
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ export const PushAuthenticator: React.FunctionComponent<PushAuthenticatorProps>
</ConfirmationModal>
);


return (
<div className="push-authenticator">
{ renderPushAuthenticatorWizard() }
Expand Down Expand Up @@ -334,12 +333,7 @@ export const PushAuthenticator: React.FunctionComponent<PushAuthenticatorProps>
size="large"
className="device-icon"
data-componentId={ `${ componentId }-remove-device` }
onClick={
() => deleteRegisteredDevice(registeredDevice.deviceId)
}
/>


<ListItemText
primary={ registeredDevice?.name }
secondary={ registeredDevice?.model }
Expand Down

0 comments on commit 2fce301

Please sign in to comment.