diff --git a/src/Corporation/ui/modals/PurchaseMaterialModal.tsx b/src/Corporation/ui/modals/PurchaseMaterialModal.tsx index a1249125e..a7afcd8aa 100644 --- a/src/Corporation/ui/modals/PurchaseMaterialModal.tsx +++ b/src/Corporation/ui/modals/PurchaseMaterialModal.tsx @@ -144,7 +144,7 @@ export function PurchaseMaterialModal(props: IProps): React.ReactElement { Enter the amount of {props.mat.name} you would like to purchase per second. This material's cost changes constantly. - {props.disablePurchaseLimit ? "Note: Purchase amount is disabled as smart supply is enabled" : ""} + {props.disablePurchaseLimit ? " Note: Purchase amount is disabled as smart supply is enabled" : ""} - Sold {divisionToSell.name} for , you now have space for + Sold {divisionToSell.name} for , you now have space for{" "} {corp.maxDivisions - corp.divisions.size} more divisions. , ); @@ -56,12 +58,20 @@ export function SellDivisionModal(props: IProps): React.ReactElement { ))} Division {divisionToSell.name} has: - - Profit: / sec{" "} - - Cities:{getRecordKeys(divisionToSell.offices).length} - Warehouses:{getRecordKeys(divisionToSell.warehouses).length} - {divisionToSell.makesProducts ?? Products: {divisionToSell.products.size}} + , + ], + ["Cities:", getRecordKeys(divisionToSell.offices).length], + ["Warehouses:", getRecordKeys(divisionToSell.warehouses).length], + divisionToSell.makesProducts ? ["Products:", divisionToSell.products.size] : [], + ]} + />
Sell price: