Since it contains usernames, we'll need to auto-update it when the ENS name comes in. So we need a hook.
Next diff will add ENS fetching functionality to useMessagePreview.
Depends on D6374
Differential D6375
[lib] Convert getMessagePreview to hook Authored by ashoat on Jan 25 2023, 12:46 AM.
Details
Since it contains usernames, we'll need to auto-update it when the ENS name comes in. So we need a hook. Next diff will add ENS fetching functionality to useMessagePreview. Depends on D6374 Confirmed that all uses of getMessagePreview still worked:
Diff Detail
|