()
| 29 | }; |
| 30 | |
| 31 | const onUndo = () => { |
| 32 | if (!source?.id || !source.handle) { |
| 33 | return; |
| 34 | } |
| 35 | |
| 36 | unfollow({ |
| 37 | id: sourceId, |
| 38 | entity: ContentPreferenceType.Source, |
| 39 | entityName: source.handle, |
| 40 | feedId, |
| 41 | }); |
| 42 | }; |
| 43 | |
| 44 | const onAdd = () => { |
| 45 | if (!source?.id || !source.handle) { |
no outgoing calls
no test coverage detected