diff --git a/src/components/MenuItem.tsx b/src/components/MenuItem.tsx index 55a23865e445..2f9ef67eabc4 100644 --- a/src/components/MenuItem.tsx +++ b/src/components/MenuItem.tsx @@ -568,12 +568,12 @@ function MenuItem( } }; - const getSubscriptpAvatarBackgroundColor = (isHover: boolean, pressed: boolean, hoverBackgroundColor: string, pressedBackgroundColor: string) => { + const getSubscriptpAvatarBackgroundColor = (isHovered: boolean, pressed: boolean, hoveredBackgroundColor: string, pressedBackgroundColor: string) => { if (pressed) { return pressedBackgroundColor; } - if (isHover) { - return hoverBackgroundColor; + if (isHovered) { + return hoveredBackgroundColor; } };