diff --git a/data/units.json b/data/units.json index d03b109..4afe3ae 100644 --- a/data/units.json +++ b/data/units.json @@ -58,7 +58,7 @@ }, { "id": "fuckton", - "label": "Fuckton", + "label": "Fuck ton", "labelPlural": "Fucktons", "symbol": "fcktn", "group": "dickloads", @@ -86,7 +86,7 @@ "labelPlural": "Shit tons", "symbol": "shttn", "group": "dickloads", - "toBase": 25.3333333333 + "toBase": 38 } ], "groups": [ diff --git a/src/components/ConversionResult.svelte b/src/components/ConversionResult.svelte index c80e7c6..c3a677f 100644 --- a/src/components/ConversionResult.svelte +++ b/src/components/ConversionResult.svelte @@ -18,6 +18,7 @@ let { value, unit, + description = '', highlighted, isInputUnit = false, isYolo = false, @@ -27,6 +28,7 @@ }: { value: Big | null; unit: Unit; + description?: string; highlighted: boolean; isInputUnit?: boolean; isYolo?: boolean; @@ -72,7 +74,7 @@ {/if} - {unit.labelPlural} ({unit.symbol}) + {unit.labelPlural} ({unit.symbol})