79461543

Date: 2025-02-23 16:30:47
Score: 1
Natty:
Report link

I may be late but I tried different approaches but the best I could do is solve it manuelly simply using useState:

const [isSubMenuOpen, setIsSubMenuOpen] = useState(true);

   <SubMenu
      open={isSubMenuOpen}
      onOpenChange={() => setIsSubMenuOpen(true)} 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Roland Exauce