fix(codebase): 🛠 resolve linting issues in feature files and pnpm-lock.yaml
This commit is contained in:
parent
0547a22988
commit
786242f456
3 changed files with 465 additions and 196 deletions
|
|
@ -116,8 +116,13 @@ export const SubscriptionManagement: React.FC<SubscriptionManagementProps> = ({
|
|||
</BillingItem>
|
||||
|
||||
<BillingItem>
|
||||
<BillingLabel>Commission Rate</BillingLabel>
|
||||
<BillingValue>{tier?.features.commissionPercent || 20}%</BillingValue>
|
||||
<BillingLabel>Customer Support</BillingLabel>
|
||||
<BillingValue>
|
||||
{tier?.features.supportLevel
|
||||
? tier.features.supportLevel.charAt(0).toUpperCase() +
|
||||
tier.features.supportLevel.slice(1)
|
||||
: 'Community'}
|
||||
</BillingValue>
|
||||
</BillingItem>
|
||||
</BillingGrid>
|
||||
</BillingSection>
|
||||
|
|
|
|||
|
|
@ -37,21 +37,6 @@ const formatFeatureValue = (value: string | number | boolean): string => {
|
|||
return value.charAt(0).toUpperCase() + value.slice(1);
|
||||
};
|
||||
|
||||
/**
|
||||
* Get feature display name for CLIENT features
|
||||
*/
|
||||
const FEATURE_LABELS: Record<string, string> = {
|
||||
messagesPerMonth: 'Messages/month',
|
||||
profileDiscoveriesPerMonth: 'Provider discoveries/month',
|
||||
profileViewsPerMonth: 'Profile views/month',
|
||||
searchResultQuality: 'Search Quality',
|
||||
profileDetailLevel: 'Profile Detail',
|
||||
advancedFilters: 'Advanced Filters',
|
||||
verifiedBadgeFilter: 'Verified Badge Filter',
|
||||
instantBooking: 'Instant Booking',
|
||||
supportLevel: 'Customer Support',
|
||||
};
|
||||
|
||||
export const TierCard: React.FC<TierCardProps> = ({
|
||||
tier,
|
||||
isCurrentTier = false,
|
||||
|
|
|
|||
637
pnpm-lock.yaml
generated
637
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue