diff --git a/components/common/TopBar.tsx b/components/common/TopBar.tsx index a5b7bc7..70c0cc0 100644 --- a/components/common/TopBar.tsx +++ b/components/common/TopBar.tsx @@ -4,10 +4,11 @@ import toast from 'react-hot-toast'; import Icon from './Icon'; type TopbarProps = { - showSettings: Function + showSettings: Function, + showAddModal: Function, } -const TopBar = ({ showSettings }:TopbarProps) => { +const TopBar = ({ showSettings, showAddModal }:TopbarProps) => { const [showMobileMenu, setShowMobileMenu] = useState(false); const router = useRouter(); @@ -31,6 +32,7 @@ const TopBar = ({ showSettings }:TopbarProps) => {

SerpBear +