Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix not closing menu
dominik-zeglen91b7c9708885
diff --git a/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx b/saleor/static/dashboard-next/components/AppLayout/MenuList.tsxindex 4868ca006a..62ab32f7a2 100644--- a/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx+++ b/saleor/static/dashboard-next/components/AppLayout/MenuList.tsx@@ -117,10 +117,10 @@ const MenuList = withStyles(styles, { name: "MenuList" })();return (<Toggle key={menuItem.label} initial={isActive}>- {(openedMenu, { enable: enableMenu }) => (+ {(openedMenu, { toggle: toggleMenu }) => (<><div- onClick={enableMenu}+ onClick={toggleMenu}className={classNames(classes.menuListItem, {[classes.menuListItemActive]: isActive})}