fix: workspace setting click

This commit is contained in:
DiamondThree
2022-12-22 15:07:59 +08:00
parent 10aed27f47
commit 64c8f214e1
2 changed files with 9 additions and 3 deletions
@@ -11,7 +11,13 @@ export const FooterSetting = ({ onClick }: SettingProps) => {
onClick && onClick();
};
return (
<Wrapper className="footer-setting" onClick={handleClick}>
<Wrapper
className="footer-setting"
onClick={e => {
e.stopPropagation();
handleClick();
}}
>
<SettingsIcon />
</Wrapper>
);