Skip to content

Commit

Permalink
fix: click avatarDropdown setting, there will be a loading appeared (#…
Browse files Browse the repository at this point in the history
…1132)

Co-authored-by: 琚致远 <juzhiyuan@apache.org>
  • Loading branch information
liuxiran and juzhiyuan authored Dec 28, 2020
1 parent 2f112ff commit f009244
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/src/components/RightContent/AvatarDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const AvatarDropdown: React.FC<GlobalHeaderRightProps> = ({ menu }) => {
const onMenuClick = useCallback((event) => {
const { key } = event;
if (key === 'settings') {
setInitialState({ ...initialState, currentUser: undefined });
settings();
return;
}
Expand Down

0 comments on commit f009244

Please sign in to comment.