Fix: show w3a addr, unifiedWallet across UI, refresh when disconnect w3a
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { useWallet } from '@txnlab/use-wallet-react'
|
||||
import { useUnifiedWallet } from './hooks/useUnifiedWallet'
|
||||
import { Link } from 'react-router-dom'
|
||||
|
||||
/**
|
||||
@ -7,7 +7,7 @@ import { Link } from 'react-router-dom'
|
||||
* Displays features, how it works, and CTAs to connect wallet and create assets
|
||||
*/
|
||||
export default function Home() {
|
||||
const { activeAddress } = useWallet()
|
||||
const { activeAddress } = useUnifiedWallet()
|
||||
|
||||
return (
|
||||
<div className="bg-white dark:bg-slate-950">
|
||||
|
||||
Reference in New Issue
Block a user