1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-24 19:04:08 +01:00

Add useEnsAddress mock function

This commit is contained in:
Matthias Kretschmann 2023-11-01 20:46:42 +00:00
parent 46ea696336
commit 546e3f54a7
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -71,6 +71,12 @@ export function useEnsName() {
}
}
export function useEnsAddress() {
return {
data: '0x0000000000000000000000000000000000000000'
}
}
export function useBalance() {
return {
data: { formatted: '0.22', symbol: 'ETH' }