From 16010cc20ed47d94015f24fcbc778c06b05b51b4 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 12 Jul 2024 14:17:19 -0500 Subject: [PATCH] Use link to associate, leave copy as is --- src/screens/Profile/Header/ProfileHeaderLabeler.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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.