diff --git a/src/screens/Profile/Header/ProfileHeaderLabeler.tsx b/src/screens/Profile/Header/ProfileHeaderLabeler.tsx index 86916b2ada..51e555a6e2 100644 --- a/src/screens/Profile/Header/ProfileHeaderLabeler.tsx +++ b/src/screens/Profile/Header/ProfileHeaderLabeler.tsx @@ -10,6 +10,7 @@ import { import {msg, Plural, plural, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' +// eslint-disable-next-line @typescript-eslint/no-unused-vars import {MAX_LABELERS} from '#/lib/constants' import {isAppLabeler} from '#/lib/moderation' import {logger} from '#/logger' @@ -315,6 +316,9 @@ let ProfileHeaderLabeler = ({ ProfileHeaderLabeler = memo(ProfileHeaderLabeler) export {ProfileHeaderLabeler} +/** + * Keep this in sync with the value of {@link MAX_LABELERS} + */ function CantSubscribePrompt({ control, }: { @@ -326,8 +330,8 @@ function CantSubscribePrompt({ Unable to subscribe - We're sorry! You can only subscribe to {MAX_LABELERS} labelers, and - you've reached your limit of {MAX_LABELERS}. + We're sorry! You can only subscribe to twenty labelers, and you've + reached your limit of twenty.