diff --git a/app/components/Header.tsx b/app/components/Header.tsx index 5a02425..700af3e 100644 --- a/app/components/Header.tsx +++ b/app/components/Header.tsx @@ -34,7 +34,6 @@ const Header: React.FC = ({ // Effect to handle clicks outside of the dropdown useEffect(() => { const handleClickOutside = (event: MouseEvent) => { - // Check if the click is outside both the dropdown and the hamburger menu if ( dropdownRef.current && !dropdownRef.current.contains(event.target as Node) && @@ -57,7 +56,19 @@ const Header: React.FC = ({
{showToggle && showHistoryModelsToggle && ( )}