Bump labeler limit to 20 (#4565)
* Increase the labeler subscription limit to 20 * Bump @atproto/api@0.12.20 * Fix: correctly count labeler subscriptions --------- Co-authored-by: dan <dan.abramov@gmail.com>
This commit is contained in:
parent
0012d1236f
commit
853c32b4d8
3 changed files with 8 additions and 8 deletions
|
@ -82,7 +82,7 @@ let ProfileHeaderLabeler = ({
|
|||
preferences?.moderationPrefs.labelers.find(l => l.did === profile.did)
|
||||
const canSubscribe =
|
||||
isSubscribed ||
|
||||
(preferences ? preferences?.moderationPrefs.labelers.length < 9 : false)
|
||||
(preferences ? preferences?.moderationPrefs.labelers.length <= 20 : false)
|
||||
const {mutateAsync: likeMod, isPending: isLikePending} = useLikeMutation()
|
||||
const {mutateAsync: unlikeMod, isPending: isUnlikePending} =
|
||||
useUnlikeMutation()
|
||||
|
@ -328,8 +328,8 @@ function CantSubscribePrompt({
|
|||
<Prompt.TitleText>Unable to subscribe</Prompt.TitleText>
|
||||
<Prompt.DescriptionText>
|
||||
<Trans>
|
||||
We're sorry! You can only subscribe to ten labelers, and you've
|
||||
reached your limit of ten.
|
||||
We're sorry! You can only subscribe to twenty labelers, and you've
|
||||
reached your limit of twenty.
|
||||
</Trans>
|
||||
</Prompt.DescriptionText>
|
||||
<Prompt.Actions>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue