Skip to content

Commit

Permalink
Updated UserTag avatar & code sample (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans authored Jun 23, 2024
1 parent 8155728 commit c8946ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/web/reverse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Fortunately, it is super easy to retrieve a user's preferred name, and this page
<div className="card1 px-8 py-4 flex justify-center gap-2 items-center">
<span>0x225...c3B5</span>
<span>to</span>
<Usertag name="luc.eth" />
<Usertag name="luc.eth" image="https://avatarservice.xyz/64/luc.eth.webp" />
</div>

In order to convert them to human-readable names, we use [the reverse registrar](/registry/reverse).
Expand All @@ -34,7 +34,7 @@ This allows us to turn any address into a human-readable name.
import { useEnsName } from 'wagmi';

export const Name = () => {
const { data: name, chainId } = useEnsName({
const { data: name } = useEnsName({
address: '0x225f137127d9067788314bc7fcc1f36746a3c3B5',
});

Expand Down

0 comments on commit c8946ae

Please sign in to comment.