()
| 43 | }; |
| 44 | |
| 45 | const onAdd = () => { |
| 46 | if (!source?.id || !source.handle) { |
| 47 | return; |
| 48 | } |
| 49 | |
| 50 | follow({ |
| 51 | id: sourceId, |
| 52 | entity: ContentPreferenceType.Source, |
| 53 | entityName: source.handle, |
| 54 | feedId, |
| 55 | }); |
| 56 | }; |
| 57 | |
| 58 | const shareProps: UseShareOrCopyLinkProps = { |
| 59 | text: source?.handle |
no outgoing calls
no test coverage detected