From 14b2f2ad4de9635835997ee49cc9f6d294956c29 Mon Sep 17 00:00:00 2001 From: "tyasuh.taeragan@gmail.com" Date: Thu, 28 Oct 2021 20:45:09 -0400 Subject: [PATCH] Invisible Black Text --- src/Corporation/ui/PurchaseMaterialModal.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Corporation/ui/PurchaseMaterialModal.tsx b/src/Corporation/ui/PurchaseMaterialModal.tsx index df5fee214..b6bd0b42b 100644 --- a/src/Corporation/ui/PurchaseMaterialModal.tsx +++ b/src/Corporation/ui/PurchaseMaterialModal.tsx @@ -25,15 +25,15 @@ function BulkPurchaseText(props: IBulkPurchaseTextProps): React.ReactElement { const maxAmount = (props.warehouse.size - props.warehouse.sizeUsed) / matSize; if (parsedAmt * matSize > maxAmount) { - return <>Not enough warehouse space to purchase this amount; + return <>Not enough warehouse space to purchase this amount; } else if (isNaN(cost)) { - return <>Invalid put for Bulk Purchase amount; + return <>Invalid put for Bulk Purchase amount; } else { return ( - <> + <> Purchasing {numeralWrapper.format(parsedAmt, "0,0.00")} of {props.mat.name} will cost{" "} - {numeralWrapper.formatMoney(cost)} - + {numeralWrapper.formatMoney(cost)} + ); } }