fix: Add onClick event listener to show Appearance Menu options in mobile (#2119)

This commit is contained in:
John Viscel M. Sangkal
2021-05-06 09:46:57 +08:00
committed by GitHub
parent 974d6b2cbe
commit d21594a6f4

View File

@@ -33,7 +33,7 @@ const AppearanceMenu = React.forwardRef((props, ref) => {
return (
<>
<MenuButton ref={ref} {...menu} {...props}>
<MenuButton ref={ref} {...menu} {...props} onClick={menu.show}>
{(props) => (
<MenuAnchor {...props}>
<ChangeTheme justify="space-between">