import { Modal } from 'antd' import IonIcon from '@sentre/antd-ionicon' import WalletConnection from './walletConnection' import { useRootDispatch, useRootSelector, RootState, RootDispatch, } from 'store' import { closeWallet } from 'store/wallet.reducer' import './index.os.less' const Login = () => { const visible = useRootSelector(({ wallet }: RootState) => wallet.visible) const dispatch = useRootDispatch() return ( dispatch(closeWallet())} closeIcon={} footer={null} bodyStyle={{ padding: 24 }} > ) } export default Login