diff --git a/src/addons/dispatch/Premium.svelte b/src/addons/dispatch/Premium.svelte index b289fd01d..a8e03d702 100644 --- a/src/addons/dispatch/Premium.svelte +++ b/src/addons/dispatch/Premium.svelte @@ -28,8 +28,7 @@ $: isIndividualOrg = typeof user?.organization !== "string" && user?.organization?.individual; $: isPremium = addon?.parameters?.categories?.includes("premium") ?? false; - const { amount, unit } = addon?.parameters?.cost ?? {}; - $: prettyCost = amount && unit ? handlePlural(amount, unit) : null; + const { amount, unit, cost } = addon?.parameters?.cost ?? {}; function toggleSpendingLimit( event: Event & { currentTarget: HTMLInputElement }, @@ -151,9 +150,11 @@