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]}` } }