diff --git a/src/app/tip/__tests__/tip-coffee-tier-selector.test.tsx b/src/app/tip/__tests__/tip-coffee-tier-selector.test.tsx index 5da2b02a..eaf07347 100644 --- a/src/app/tip/__tests__/tip-coffee-tier-selector.test.tsx +++ b/src/app/tip/__tests__/tip-coffee-tier-selector.test.tsx @@ -14,21 +14,18 @@ import { const items: readonly TipCoffeeTierItem[] = [ { type: "small", - tierLabel: "Small", displayName: "Velvet Espresso", priceLabel: "US$ 4.99", unavailable: false, }, { type: "medium", - tierLabel: "Medium", displayName: "Golden Reserve", priceLabel: "US$ 9.99", unavailable: false, }, { type: "large", - tierLabel: "Large", displayName: "Imperial Grand Cru", priceLabel: "US$ 19.99", unavailable: false, diff --git a/src/app/tip/tip-coffee-tier-selector.tsx b/src/app/tip/tip-coffee-tier-selector.tsx index 7c5ad0aa..43875c00 100644 --- a/src/app/tip/tip-coffee-tier-selector.tsx +++ b/src/app/tip/tip-coffee-tier-selector.tsx @@ -6,7 +6,6 @@ import styles from "./tip-screen.module.css"; export interface TipCoffeeTierItem { type: TipCoffeeType; - tierLabel: string; displayName: string; priceLabel: string; unavailable: boolean; @@ -51,7 +50,6 @@ export function TipCoffeeTierSelector({ onChange={() => onChange(item.type)} /> - {item.tierLabel} {item.displayName} diff --git a/src/app/tip/tip-screen.module.css b/src/app/tip/tip-screen.module.css index 3b7e608d..2931ba72 100644 --- a/src/app/tip/tip-screen.module.css +++ b/src/app/tip/tip-screen.module.css @@ -330,14 +330,6 @@ gap: 4px; } -.tierLabel { - color: #a36d73; - font-size: 10px; - font-weight: 900; - letter-spacing: 0.13em; - text-transform: uppercase; -} - .tierName { overflow: hidden; color: #2a1b1e; diff --git a/src/app/tip/tip-screen.tsx b/src/app/tip/tip-screen.tsx index b6bb78ca..03276ada 100644 --- a/src/app/tip/tip-screen.tsx +++ b/src/app/tip/tip-screen.tsx @@ -86,7 +86,6 @@ export function TipScreen({ () => coffeeTiers.map(({ option, plan }) => ({ type: option.type, - tierLabel: option.tierLabel, displayName: option.displayName, priceLabel: formatTipPrice(plan, option.type), unavailable: diff --git a/src/lib/tip/tip_coffee.ts b/src/lib/tip/tip_coffee.ts index 45b3a3b8..fd6c5b92 100644 --- a/src/lib/tip/tip_coffee.ts +++ b/src/lib/tip/tip_coffee.ts @@ -7,7 +7,6 @@ export type TipCoffeeType = "small" | "medium" | "large"; export interface TipCoffeeOption { readonly type: TipCoffeeType; - readonly tierLabel: string; readonly amountCents: number; readonly displayName: string; readonly image: { @@ -21,7 +20,6 @@ export interface TipCoffeeOption { const TIP_COFFEE_OPTION_BY_TYPE: Record = { small: { type: "small", - tierLabel: "Small", amountCents: 499, displayName: "Velvet Espresso", image: { @@ -33,7 +31,6 @@ const TIP_COFFEE_OPTION_BY_TYPE: Record = { }, medium: { type: "medium", - tierLabel: "Medium", amountCents: 999, displayName: "Golden Reserve", image: { @@ -45,7 +42,6 @@ const TIP_COFFEE_OPTION_BY_TYPE: Record = { }, large: { type: "large", - tierLabel: "Large", amountCents: 1999, displayName: "Imperial Grand Cru", image: {