feat: some stuff
This commit is contained in:
		| @@ -14,7 +14,11 @@ function formatUnit(unit: string, amount: number) { | ||||
|     if (amount > 1 && unitsOfMeasure[unitKey].plural !== undefined) { | ||||
|       return unitsOfMeasure[unitKey].plural; | ||||
|     } | ||||
|     return unitsOfMeasure[unitKey].short; | ||||
|     if (unitKey !== "cup") { | ||||
|       return unitsOfMeasure[unitKey].short; | ||||
|     } | ||||
|  | ||||
|     return unitKey.toString(); | ||||
|   } else { | ||||
|     return unit; | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user