feat(i18n): traducir el plan (billing)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import { useState } from 'react'
|
||||
import { Button } from '../../../components/ui'
|
||||
import {
|
||||
hasPlanFeature,
|
||||
PLAN_FEATURE_REQUIRED_MESSAGES,
|
||||
planFeatureRequiredMessage,
|
||||
showPlanPrompt,
|
||||
useBillingStatus,
|
||||
} from '../../billing'
|
||||
@@ -41,7 +41,7 @@ export function GroupDetailView() {
|
||||
const billingQuery = useBillingStatus({ enabled: isGroupOwner })
|
||||
const handleCharge = () => {
|
||||
if (isGroupOwner && !hasPlanFeature(billingQuery.data, 'mpCharges')) {
|
||||
showPlanPrompt(PLAN_FEATURE_REQUIRED_MESSAGES.mpCharges)
|
||||
showPlanPrompt(planFeatureRequiredMessage('mpCharges'))
|
||||
return
|
||||
}
|
||||
setIsChargeModalOpen(true)
|
||||
|
||||
Reference in New Issue
Block a user