From 730e9b1736570ed30a255bfdabb310b6e0d0725d Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Tue, 18 Feb 2025 21:07:09 -0600 Subject: [PATCH] fixing logbook unknown type --- app/src/components/logbook/Logbook.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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',