diff --git a/app/src/components/logbook/Logbook.tsx b/app/src/components/logbook/Logbook.tsx index e1f5737..19e543e 100644 --- a/app/src/components/logbook/Logbook.tsx +++ b/app/src/components/logbook/Logbook.tsx @@ -166,9 +166,9 @@ const Logbook: React.FC = () => { align: 'right', headerAlign: 'right' }, - cell: (info) => + cell: (info: any) => info.getValue() !== null - ? parseFloat(info.getValue()!.toString()).toFixed(1) + ? parseFloat(info.getValue()).toFixed(1) : '' }, { @@ -178,10 +178,10 @@ const Logbook: React.FC = () => { align: 'right', headerAlign: 'right' }, - cell: (info) => + cell: (info: any) => info.getValue() !== null - ? parseFloat(info.getValue()!.toString()).toFixed(1) - : null + ? parseFloat(info.getValue()).toFixed(1) + : '' }, { id: 'landings',