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