Instead of waiting for ENSCache to resolve a Promise, this diff makes it so if an ENS name is cached, we show it immediately from useStringForUser on the first render.
Depends on D6418
Differential D6419
[lib] Show cached ENS names on first render ashoat on Jan 27 2023, 11:58 AM. Authored by Tags None Referenced Files
Subscribers
Details
Instead of waiting for ENSCache to resolve a Promise, this diff makes it so if an ENS name is cached, we show it immediately from useStringForUser on the first render. Depends on D6418 I added a console.log of the result of useStringForUser, and then logged out and back in on the iOS simulator. After this diff, the first render of useStringForUser was correct when the result was cached, but before this diff the first render had the ETH address instead of the ENS name
Diff Detail
|