The fact that this is asynchronous is painful but this is caused by ENG-8192.
Creatin hook to avoid code duplication
Paths
| Differential D14058 Authored by kamil on Nov 27 2024, 9:30 AM.
Details Summary The fact that this is asynchronous is painful but this is caused by ENG-8192. Creatin hook to avoid code duplication Test Plan Log result and check if this works on primary and non-primary
Diff Detail
Event Timelinekamil held this revision as a draft. Herald added a subscriber: ashoat. · View Herald TranscriptNov 27 2024, 9:31 AM2024-11-27 09:31:00 (UTC-8) kamil added a child revision: D14056: [native] enable backup handler for staff.Nov 27 2024, 9:36 AM2024-11-27 09:36:01 (UTC-8) Harbormaster completed remote builds in B32885: Diff 46100.Nov 27 2024, 9:52 AM2024-11-27 09:52:08 (UTC-8) This revision is now accepted and ready to land.Nov 29 2024, 3:16 AM2024-11-29 03:16:08 (UTC-8) Closed by commit rCOMM1c4a54aec179: [lib] create a hook to check if device is primary (authored by kamil). · Explain WhyDec 2 2024, 6:54 AM2024-12-02 06:54:34 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 46100 lib/hooks/primary-device-hooks.js
native/account/registration/missing-registration-data/missing-registration-data-handler.react.js
|
I introduced a previous diff where setAuxUserFIDs now clears fids prior to updating with new fids from the payload. The previous functionality of setAuxUserFIDs of just adding without clearing is now a new action type addAuxUserFIDs
There are now two callbacks which are called by a single useEffect. The two callbacks are called handleFarcasterMutuals and handleUserStoreFIDs