From 5b11827c567b65700de1bc0bc4e2174b9f31b14b Mon Sep 17 00:00:00 2001 From: Gazook89 Date: Sat, 25 Apr 2026 23:33:04 -0500 Subject: [PATCH] fix disabled attribute --- client/components/dropdown/dropdown.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/dropdown/dropdown.jsx b/client/components/dropdown/dropdown.jsx index cc6f9cf59..2efeac776 100644 --- a/client/components/dropdown/dropdown.jsx +++ b/client/components/dropdown/dropdown.jsx @@ -78,7 +78,7 @@ const Dropdown = ({ groupName, className = null, icon, children, color = null, c icon={icon} aria-haspopup='menu' role='menuitem' - disabled={children.length > 0 ? false : true} + disabled={!React.Children.count(children)} ref={triggerRef} > {trigger(groupName)}