Fix: show w3a addr, unifiedWallet across UI, refresh when disconnect w3a

This commit is contained in:
SaraJane
2026-01-15 12:43:19 +00:00
parent 5a1d5791f4
commit c11daa5aff
4 changed files with 82 additions and 29 deletions

View File

@ -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">