Skip to content

Commit

Permalink
fix: fix the initial displaying state of dropdown menu
Browse files Browse the repository at this point in the history
  • Loading branch information
jeangovil committed Jun 5, 2023
1 parent 223d6c4 commit c6a627d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function DropdownNavbarItemDesktop({
...props
}) {
const dropdownRef = useRef<HTMLDivElement>(null)
const [showDropdown, setShowDropdown] = useState(true)
const [showDropdown, setShowDropdown] = useState(false)

useEffect(() => {
const handleClickOutside = (event) => {
Expand Down

0 comments on commit c6a627d

Please sign in to comment.