()
| 20 | const sourceId = source?.id ?? ''; |
| 21 | |
| 22 | const onCreateNewFeed = () => { |
| 23 | if (!source?.id) { |
| 24 | return; |
| 25 | } |
| 26 | |
| 27 | router.push( |
| 28 | `${webappUrl}feeds/new?entityId=${sourceId}&entityType=${ContentPreferenceType.Source}`, |
| 29 | ); |
| 30 | }; |
| 31 | |
| 32 | const onUndo = () => { |
| 33 | if (!source?.id || !source.handle) { |