Remove unused variable cleanDarkBackground
This commit is contained in:
@@ -14,9 +14,6 @@ const MobileNav = ({closeNav, showNav}: Props) => {
|
||||
const navOpen = showNav ? "translate-y-0 opacity-100" : "-translate-y-20 opacity-0 pointer-events-none";
|
||||
const {theme, toggleTheme} = useContext(ThemeContext);
|
||||
const colors = themeColors[theme];
|
||||
|
||||
const cleanDarkBackground = theme === "dark" ? "#2A2A2A" : colors.primaryBg;
|
||||
|
||||
return (
|
||||
<div className="lg:hidden">
|
||||
{/* overlay background */}
|
||||
|
||||
Reference in New Issue
Block a user