Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix

Manav Rathi6a0126926d4b
diff --git a/web/packages/shared/components/Menu/EnteMenuItem.tsx b/web/packages/shared/components/Menu/EnteMenuItem.tsx
index d9ede595e6..2e93532ebb 100644
--- a/web/packages/shared/components/Menu/EnteMenuItem.tsx
+++ b/web/packages/shared/components/Menu/EnteMenuItem.tsx
@@ -70,10 +70,10 @@ export function EnteMenuItem({
width: "100%",
color: (theme) =>
variant !== "captioned" && theme.palette[color].main,
- ...(variant !== "secondary" &&
- variant !== "mini" && {
- backgroundColor: (theme) => theme.colors.fill.faint,
- }),
+ backgroundColor: (theme) =>
+ variant !== "secondary" && variant !== "mini"
+ ? theme.colors.fill.faint
+ : "inherit",
"&:hover": {
backgroundColor: (theme) => theme.colors.fill.faintPressed,
},