()
| 20 | }); |
| 21 | |
| 22 | async function init(): Promise<void> { |
| 23 | if (!await doesUserFollow.get(getCleanPathname(), getLoggedInUser()!)) { |
| 24 | return; |
| 25 | } |
| 26 | |
| 27 | const target = await elementReady('.js-profile-editable-area [href$="?tab=following"]'); |
| 28 | attachElement(target, { |
| 29 | after: () => ( |
| 30 | <span className="color-fg-muted"> · Follows you</span> |
| 31 | ), |
| 32 | }); |
| 33 | } |
| 34 | |
| 35 | void features.add(import.meta.url, { |
| 36 | include: [ |
nothing calls this directly
no test coverage detected