From c10a8bc7465324e3fc0ebb958d390b9ba53548cf Mon Sep 17 00:00:00 2001 From: leofvo Date: Wed, 15 Feb 2023 16:47:54 +0100 Subject: [PATCH] style(navbar): fix background color --- .../core/components/Dashboard/Navbar/Navbar.component.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/polyflix/src/modules/core/components/Dashboard/Navbar/Navbar.component.tsx b/apps/polyflix/src/modules/core/components/Dashboard/Navbar/Navbar.component.tsx index 5f5d6760..7219734c 100644 --- a/apps/polyflix/src/modules/core/components/Dashboard/Navbar/Navbar.component.tsx +++ b/apps/polyflix/src/modules/core/components/Dashboard/Navbar/Navbar.component.tsx @@ -54,11 +54,8 @@ export const DashboardNavbar: React.FC> = () => { return } if (window.scrollY > 0) { - toolBarRef.current.style.backgroundColor = - theme.palette.background.default toolBarContainerRef.current.style.border = 'none' } else { - toolBarRef.current.style.backgroundColor = 'transparent' toolBarContainerRef.current.style.borderBottom = `1px solid ${theme.palette.grey[400]}` } }