This diff introduces useLinkFID which is a hook that returns a callback that calls the linkFarcasterAccount identity rpc and then sets the fid into the synced metadata client store
Depends on D11873
Differential D11863
[lib/native] introduce useLinkFID hook ginsu on May 2 2024, 11:38 PM. Authored by Tags None Referenced Files
Details
This diff introduces useLinkFID which is a hook that returns a callback that calls the linkFarcasterAccount identity rpc and then sets the fid into the synced metadata client store Depends on D11873 Confirmed that the fid was being set into the synced metadata client store + confirmed in meeting with @varun that I was correctly calling and getting the expected behavior of linkFarcasterAccount RPC. Confirmed that loading + error states worked as expected
Diff Detail
Event TimelineComment Actions It's unclear to me why we need to call linkFID from registration. Doesn't the identity registration call already link the FID?
|