import React, { useState, forwardRef, useRef } from 'react'; import Dropdown from '../../Dropdown'; import CreateCollection from '../CreateCollection'; import { IconDots } from '@tabler/icons'; import StyledWrapper from './StyledWrapper'; const Navbar = ({dispatch, actions}) => { const [modalOpen, setModalOpen] = useState(false); const menuDropdownTippyRef = useRef(); const onMenuDropdownCreate = (ref) => menuDropdownTippyRef.current = ref; const MenuIcon = forwardRef((props, ref) => { return (