From 9680468943790bd44fd7b0ee313d4f64ef88d939 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 14 Jul 2020 16:25:28 +0200 Subject: [PATCH] use connect function --- src/components/molecules/Wallet/Account.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/molecules/Wallet/Account.tsx b/src/components/molecules/Wallet/Account.tsx index 92b67b673..767602496 100644 --- a/src/components/molecules/Wallet/Account.tsx +++ b/src/components/molecules/Wallet/Account.tsx @@ -28,11 +28,9 @@ const Blockies = ({ account }: { account: string | undefined }) => { // Forward ref for Tippy.js // eslint-disable-next-line const Account = React.forwardRef((props, ref: any) => { - const { accountId, status, web3Modal } = useOcean() + const { accountId, status, connect } = useOcean() const hasSuccess = status === 1 - console.log(web3Modal) - return accountId ? (