More context in the discussion under ENG-3302. We decided to make this a hook to separate fetching and rendering concerns.
This is mostly modelled after useENSNames, except that we only need to handle one fetch at a time in this hook.
Differential D7165
[lib] Introduce useENSAvatar hook ashoat on Mar 23 2023, 9:04 PM. Authored by Tags None Referenced Files
Subscribers
Details
More context in the discussion under ENG-3302. We decided to make this a hook to separate fetching and rendering concerns. This is mostly modelled after useENSNames, except that we only need to handle one fetch at a time in this hook. I tested with this patch, which uses an ENS name that points to an NFT in the user's wallet that is an SVG data URI: https://gist.github.com/Ashoat/461523a089b78554ce3a36dcf3115661
Diff Detail
|