import { Row, Card, Col, Avatar, Typography } from 'antd' import SOLFLARE from 'static/images/wallet/solflare.png' import { useRootDispatch, RootDispatch } from 'store' import { connectWallet } from 'store/wallet.reducer' import { SolflareWebWallet } from '../../lib' const Solflare = () => { const dispatch = useRootDispatch() const connect = async () => { const solflareWebWallet = new SolflareWebWallet() try { await dispatch(connectWallet(solflareWebWallet)).unwrap() } catch (er: any) { return window.notify({ type: 'error', description: er.message }) } } return ( Solflare Web ) } export default Solflare