From 99567c9afe0a65f030eef960cac6124b583412c7 Mon Sep 17 00:00:00 2001 From: Tyler Shipe Date: Thu, 22 Apr 2021 11:00:13 -0400 Subject: [PATCH] add connect and disconnect for mobile --- components/TopBar.tsx | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/components/TopBar.tsx b/components/TopBar.tsx index 8cb28544..0702dae0 100644 --- a/components/TopBar.tsx +++ b/components/TopBar.tsx @@ -24,6 +24,11 @@ const Code = styled.code` font-size: 13px; ` +const WALLET_OPTIONS = [ + { name: 'Copy address', icon: }, + { name: 'Disconnect', icon: }, +] + const TopBar = () => { const { asPath } = useRouter() const connected = useMangoStore((s) => s.wallet.connected) @@ -54,11 +59,6 @@ const TopBar = () => { } } - const WALLET_OPTIONS = [ - { name: 'Copy address', icon: }, - { name: 'Disconnect', icon: }, - ] - return (