small refactor so that I can reuse code in next diff when I introduce fetchLedFarcasterChannels method
Details
Details
- Reviewers
ashoat - Commits
- rCOMMad1063878f4a: [lib] refactor fetchFollowedFarcasterChannels
tested with next diff
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
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