From 6afb6030b7f848d57658b700e797e949cebf8f32 Mon Sep 17 00:00:00 2001 From: Towfiq Date: Sun, 27 Nov 2022 21:29:37 +0600 Subject: [PATCH] Added Mobile Add Domain Button. --- components/common/TopBar.tsx | 6 ++++-- pages/domain/[slug]/index.tsx | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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 +