Skip to content

Commit

Permalink
Merge pull request #530 from BloomBooks/BL-12923_fix-logout-menu-posi…
Browse files Browse the repository at this point in the history
…tion

Bl-12923 fix user menu position if no gravatar (#530)
  • Loading branch information
JohnThomson authored Jan 3, 2024
2 parents 2912252 + a5f2853 commit c62668e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/User/UserMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const UserMenu: React.FunctionComponent<IUserMenuProps> = (props) => {
}, []);

const showMenu = (ev: any) => {
setAnchorEl(ev.target as Element);
setAnchorEl(ev.currentTarget);
};
const closeMenu = () => setAnchorEl(null);
const handleLogin = () => {
Expand Down

0 comments on commit c62668e

Please sign in to comment.