From e63d703fc229367a7fc6d11075299b9e82a98d65 Mon Sep 17 00:00:00 2001 From: natalie Date: Wed, 30 Oct 2024 23:42:23 +0100 Subject: [PATCH] fix: wrong unit name when using lbs (#512) --- .../src/EFB/apps/Aircraft/FuelPayload.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/instruments/src/EFB/apps/Aircraft/FuelPayload.tsx b/src/instruments/src/EFB/apps/Aircraft/FuelPayload.tsx index fd63a417..621d6f8f 100644 --- a/src/instruments/src/EFB/apps/Aircraft/FuelPayload.tsx +++ b/src/instruments/src/EFB/apps/Aircraft/FuelPayload.tsx @@ -91,6 +91,8 @@ export const FuelPayload: FC = () => { plannedFuel && setFuel(metric ? plannedFuel * 2.205 : plannedFuel); }; + const unitString = metric ? "kg" : "lbs"; + return ( @@ -114,8 +116,8 @@ export const FuelPayload: FC = () => { - - + + @@ -125,14 +127,14 @@ export const FuelPayload: FC = () => { { - +