@@ -19,6 +19,7 @@ import {
1919import { json , type ActionFunctionArgs , type LoaderFunctionArgs } from "@remix-run/server-runtime" ;
2020import { tryCatch } from "@trigger.dev/core" ;
2121import { useEffect , useState } from "react" ;
22+ import simplur from "simplur" ;
2223import { typedjson , useTypedLoaderData } from "remix-typedjson" ;
2324import { z } from "zod" ;
2425import { AdminDebugTooltip } from "~/components/admin/debugTooltip" ;
@@ -705,7 +706,7 @@ function PurchaseConcurrencyModal({
705706 </ div >
706707 < div className = "grid grid-cols-2 text-xs" >
707708 < span className = "text-text-dimmed" >
708- ({ extraConcurrency / concurrencyPricing . stepSize } bundles )
709+ ({ simplur ` ${ extraConcurrency / concurrencyPricing . stepSize } bundle[|s]` } )
709710 </ span >
710711 < span className = "justify-self-end text-text-dimmed" > /mth</ span >
711712 </ div >
@@ -726,8 +727,11 @@ function PurchaseConcurrencyModal({
726727 </ div >
727728 < div className = "grid grid-cols-2 text-xs" >
728729 < span className = "text-text-dimmed" >
729- ({ ( amountValue - extraConcurrency ) / concurrencyPricing . stepSize } bundles @{ " " }
730- { formatCurrency ( concurrencyPricing . centsPerStep / 100 , true ) } /mth)
730+ (
731+ { simplur `${
732+ ( amountValue - extraConcurrency ) / concurrencyPricing . stepSize
733+ } bundle[|s]`} { " " }
734+ @ { formatCurrency ( concurrencyPricing . centsPerStep / 100 , true ) } /mth)
731735 </ span >
732736 < span className = "justify-self-end text-text-dimmed" > /mth</ span >
733737 </ div >
@@ -746,7 +750,7 @@ function PurchaseConcurrencyModal({
746750 </ div >
747751 < div className = "grid grid-cols-2 text-xs" >
748752 < span className = "text-text-dimmed" >
749- ({ amountValue / concurrencyPricing . stepSize } bundles )
753+ ({ simplur ` ${ amountValue / concurrencyPricing . stepSize } bundle[|s]` } )
750754 </ span >
751755 < span className = "justify-self-end text-text-dimmed" > /mth</ span >
752756 </ div >
0 commit comments