diff --git a/site/components/common/UserNav/UserNav.tsx b/site/components/common/UserNav/UserNav.tsx index 436839588..a01bd2fc0 100644 --- a/site/components/common/UserNav/UserNav.tsx +++ b/site/components/common/UserNav/UserNav.tsx @@ -46,7 +46,7 @@ const UserNav: React.FC<{ variant="naked" onClick={() => { setSidebarView('CART_VIEW') - toggleSidebar() + openSidebar() }} aria-label={`Cart items: ${itemsCount}`} > @@ -88,8 +88,8 @@ const UserNav: React.FC<{ aria-label="Menu" variant="naked" onClick={() => { + setSidebarView('MOBILEMENU_VIEW') openSidebar() - setSidebarView('MOBILE_MENU_VIEW') }} >
diff --git a/site/components/product/ProductSidebar/ProductSidebar.tsx b/site/components/product/ProductSidebar/ProductSidebar.tsx index 250aa41bc..e549ed698 100644 --- a/site/components/product/ProductSidebar/ProductSidebar.tsx +++ b/site/components/product/ProductSidebar/ProductSidebar.tsx @@ -17,7 +17,7 @@ interface ProductSidebarProps { const ProductSidebar: FC