fix: address selector in ConnectedButton (#173)

This commit is contained in:
Yusuf Seyrek 2023-05-03 22:45:15 +03:00 committed by GitHub
parent fbf5fc8adb
commit ce91d2a134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ export default function ConnectedButton() {
const marketAssets = getMarketAssets()
const { disconnect } = useWallet()
const { disconnect: terminate } = useWalletManager()
const address = useStore((s) => s.client?.recentWallet.account?.address)
const address = useStore((s) => s.address)
const network = useStore((s) => s.client?.recentWallet.network)
const baseAsset = getBaseAsset()
const { data, isLoading } = useSWR(