Skip to content

Commit

Permalink
Update based on review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tackley committed Aug 17, 2023
1 parent 1b2d1c2 commit dc3465d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ export function CampaignReview({ values, errors }: Props) {
return new Date(date).toLocaleDateString("en-US", options);
};

const billing = (v: string) => {
return uiLabelsForBillingType(v).longLabel;
};

return (
<ReviewContainer name="Campaign" path="settings">
<ReviewField caption="Name" value={values.name} error={errors.name} />
Expand All @@ -47,7 +43,7 @@ export function CampaignReview({ values, errors }: Props) {
/>
<ReviewField
caption="Pricing Type"
value={billing(values.billingType)}
value={uiLabelsForBillingType(values.billingType).longLabel}
error={errors.billingType}
/>
<ReviewField
Expand Down

0 comments on commit dc3465d

Please sign in to comment.