Signed-off-by: gaurav <gaurav@smallest.ai>
This commit is contained in:
gaurav
2025-06-10 12:01:17 +05:30
committed by benjdlambert
parent aa3b054470
commit d375ba6868
3 changed files with 4 additions and 18 deletions
@@ -63,13 +63,7 @@ export const UserSettingsMenu = () => {
data-testid="sign-out"
onClick={() => {
identityApi.signOut().catch(error => errorApi.post(error));
identityApi.getBackstageIdentity().then(identity => {
analytics.captureEvent('signOut', 'success', {
attributes: {
userEntityRef: identity.userEntityRef,
},
});
});
analytics.captureEvent('signOut', 'success');
}}
>
<ListItemIcon>