2
0
Yuki Takei 2 жил өмнө
parent
commit
2f69e3ed51

+ 0 - 5
apps/app/_obsolete/src/styles/theme/apply-colors.scss

@@ -224,11 +224,6 @@ ul.pagination {
       }
     }
   }
-  div.grw-global-navigation {
-    > div {
-      background-color: var(--bgcolor-sidebar);
-    }
-  }
   div.grw-contextual-navigation {
     > div {
       color: var(--color-sidebar-context);

+ 1 - 4
apps/app/src/components/Sidebar/Sidebar.tsx

@@ -8,7 +8,6 @@ import { useUserUISettings } from '~/client/services/user-ui-settings';
 import {
   useDrawerMode, useDrawerOpened,
   useSidebarCollapsed,
-  useCurrentSidebarContents,
   useCurrentProductNavWidth,
   useSidebarResizeDisabled,
 } from '~/stores/ui';
@@ -239,9 +238,7 @@ export const Sidebar = memo((): JSX.Element => {
             onMouseLeave={hoverOutHandler}
           >
             <div className="grw-navigation-wrap">
-              <div className="grw-global-navigation">
-                <SidebarNav />
-              </div>
+              <SidebarNav />
               <div
                 ref={resizableContainer}
                 className="grw-contextual-navigation"