diff --git a/apps/warp-protocol/src/components/dialog/connect-wallet/ConnectWalletDialog.tsx b/apps/warp-protocol/src/components/dialog/connect-wallet/ConnectWalletDialog.tsx index 7602168..0e57e8a 100644 --- a/apps/warp-protocol/src/components/dialog/connect-wallet/ConnectWalletDialog.tsx +++ b/apps/warp-protocol/src/components/dialog/connect-wallet/ConnectWalletDialog.tsx @@ -1,6 +1,5 @@ import { useWallet } from '@terra-money/wallet-kit'; import { Button, Text } from 'components/primitives'; -import { useState } from 'react'; import { useDialog, DialogProps } from '@terra-money/apps/hooks'; import { Dialog, DialogBody, DialogHeader } from 'components/dialog'; import styles from './ConnectWalletDialog.module.sass'; @@ -10,15 +9,10 @@ type ConnectWalletDialogProps = { subtitle?: string; }; -// TODO: filter for supported available wallets -// TODO: add wallet connect - export const ConnectWalletDialog = (props: DialogProps) => { const { closeDialog, title, subtitle } = props; const { connect, availableWallets } = useWallet(); - const [loading, setLoading] = useState(false); - return ( closeDialog(undefined, { closeAll: true })} /> @@ -31,12 +25,11 @@ export const ConnectWalletDialog = (props: DialogProps { return (