Skip to content

Commit

Permalink
Fixing noop in logout action. (#17380)
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisoelkers authored Nov 20, 2023
1 parent 3b2e479 commit 193d7a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const UserMenu = ({ fullName, readOnly = true, userId }: Props) => {
<LinkContainer to={route}>
<Menu.Item>{label}</Menu.Item>
</LinkContainer>
<Menu.Item onSelect={onLogoutClicked} icon={<Icon name="sign-out-alt" />}>Log out</Menu.Item>
<Menu.Item onClick={onLogoutClicked} icon={<Icon name="sign-out-alt" />}>Log out</Menu.Item>
</NavDropdown>
);
};
Expand Down

0 comments on commit 193d7a1

Please sign in to comment.