Function
openFollowList
(
type: LazyModal.UserFollowersModal | LazyModal.UserFollowingModal,
placeholderAmount: number,
)
Source from the content-addressed store, hash-verified
| 277 | user && |
| 278 | `${webappUrl}feeds/${isCustomDefaultFeed ? defaultFeedId : user.id}/edit`; |
| 279 | const openFollowList = ( |
| 280 | type: LazyModal.UserFollowersModal | LazyModal.UserFollowingModal, |
| 281 | placeholderAmount: number, |
| 282 | ) => { |
| 283 | if (!placeholderAmount || !user) { |
| 284 | return; |
| 285 | } |
| 286 | openModal({ |
| 287 | type, |
| 288 | props: { |
| 289 | queryProps: { id: user.id, entity: ContentPreferenceType.User }, |
| 290 | placeholderAmount, |
| 291 | }, |
| 292 | }); |
| 293 | }; |
| 294 | |
| 295 | const actions = ( |
| 296 | <> |
Tested by
no test coverage detected