Fix double percentage sign in product creation (#395)

This commit is contained in:
LiamGeorge1999 2023-02-25 13:20:59 +00:00 committed by GitHub
parent b1af58d6a6
commit 3d9993215c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,7 +107,7 @@ export function ProductElem(props: IProductProps): React.ReactElement {
Designing {product.name} (req. Operations/Engineers in {product.createCity})...
</Typography>
<br />
<Typography>{formatPercent(product.prog / 100, 2)}% complete</Typography>
<Typography>{formatPercent(product.prog / 100, 2)} complete</Typography>
<Button onClick={() => setCancelOpen(true)}>Cancel</Button>
<CancelProductModal
product={product}