imorland / follow-users

MIT License
4 stars 5 forks source link

`addSubscriptionBadge()` is unused? #6

Closed rob006 closed 2 years ago

rob006 commented 3 years ago

https://github.com/imorland/follow-users/blob/ff2b9f350cdcdb74fed81bc9670b0d096956ec13/js/src/forum/addFollowBadge.js#L6

I hasn't been able to find any usage of this method and related translations in this repo.

davwheat commented 3 years ago

Its imported as addFollowBadge, matching the file name. Looks like the function name stuck around from something else and I didn't change it. My bad.

https://github.com/imorland/follow-users/blob/ff2b9f350cdcdb74fed81bc9670b0d096956ec13/js/src/forum/index.js#L13

Translations are here: https://github.com/imorland/follow-users/blob/ff2b9f350cdcdb74fed81bc9670b0d096956ec13/resources/locale/en.yml#L33-L36