fix various build issues
This commit is contained in:
@ -11,7 +11,7 @@ function formatPrice(price: number | string): string {
|
||||
}
|
||||
const asNumber = Number(price);
|
||||
if (isNaN(asNumber)) {
|
||||
return price;
|
||||
return price.toString();
|
||||
}
|
||||
if (asNumber === 0) {
|
||||
return "Gratis";
|
||||
|
Reference in New Issue
Block a user