Skip to content

Commit

Permalink
Add annual payment to Upload ID
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbroman committed Jun 20, 2023
1 parent da67dfe commit d072606
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions shared/src/onboarding/dialogs/Payment/ProductCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ export const ProductCards = ({ products, productId, setProductId }: Props) => {
}
}, [byopProduct, setProductId]);

if (byopProduct) {
return (
<ProductCard
key={byopProduct.id}
h2Text={`$${byopProduct.subscription_price}.00`}
bodyText="Monthly"
isSelected={productId === byopProduct.id}
onClick={() => setProductId(byopProduct.id)}
/>
);
}

return (
<Flex gap={16}>
{/* Assume the cheapest is monthly and the second yearly. */}
Expand Down

0 comments on commit d072606

Please sign in to comment.