✏️ (pricing) Fix typos
This commit is contained in:
committed by
Baptiste Arnaud
parent
3bec24a8cc
commit
9061c03d6d
@ -70,6 +70,7 @@ export const UsageContent = ({ workspace }: Props) => {
|
||||
(resets on 1st of every month)
|
||||
</Text>
|
||||
</HStack>
|
||||
|
||||
<HStack>
|
||||
<Skeleton
|
||||
fontWeight="bold"
|
||||
@ -78,7 +79,12 @@ export const UsageContent = ({ workspace }: Props) => {
|
||||
>
|
||||
{parseNumberWithCommas(totalChatsUsed)}
|
||||
</Skeleton>
|
||||
<Text>/ {parseNumberWithCommas(workspaceChatsLimit)}</Text>
|
||||
<Text>
|
||||
/{' '}
|
||||
{workspaceChatsLimit === -1
|
||||
? 'Unlimited'
|
||||
: parseNumberWithCommas(workspaceChatsLimit)}
|
||||
</Text>
|
||||
</HStack>
|
||||
</Flex>
|
||||
|
||||
|
@ -3,7 +3,13 @@ import { Plan } from 'db'
|
||||
|
||||
export const PlanTag = ({ plan, ...props }: { plan?: Plan } & TagProps) => {
|
||||
switch (plan) {
|
||||
case Plan.LIFETIME:
|
||||
case Plan.LIFETIME: {
|
||||
return (
|
||||
<Tag colorScheme="purple" data-testid="lifetime-plan-tag" {...props}>
|
||||
Lifetime
|
||||
</Tag>
|
||||
)
|
||||
}
|
||||
case Plan.PRO: {
|
||||
return (
|
||||
<Tag colorScheme="blue" data-testid="pro-plan-tag" {...props}>
|
||||
|
Reference in New Issue
Block a user