2
0

✏️ (pricing) Fix typos

This commit is contained in:
Baptiste Arnaud
2022-09-27 08:22:40 +02:00
committed by Baptiste Arnaud
parent 3bec24a8cc
commit 9061c03d6d
4 changed files with 42 additions and 14 deletions

View File

@@ -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}>