diff --git a/src/header/smart-profile.tsx b/src/header/smart-profile.tsx index 24301f47fbd..52371fe972e 100644 --- a/src/header/smart-profile.tsx +++ b/src/header/smart-profile.tsx @@ -56,7 +56,8 @@ export default class SmartProfile extends PureComponent { - reactRoot.unmount(); + renderLoginDialog({ + ...props, + show: false + }); }; }