0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 05:02:43 +00:00

dropdown classes fix

This commit is contained in:
Víctor Losada Hernández
2024-03-06 19:43:44 +01:00
parent b2b276c3a3
commit dbe60e3ff1
7 changed files with 8 additions and 8 deletions

View File

@@ -104,7 +104,7 @@ const Nav = {
});
return (
<div className={`navDropdownContainer ${props.className}`}
<div className={`navDropdownContainer ${props.className? props.className : ""}`}
ref={myRef}
onMouseEnter = { props.trigger.includes('hover') ? ()=>handleDropdown(true) : undefined }
onMouseLeave = { props.trigger.includes('hover') ? ()=>handleDropdown(false) : undefined }