fixing logbook unknown type

This commit is contained in:
2025-02-18 21:07:09 -06:00
parent bb97902d6c
commit 730e9b1736

View File

@@ -166,9 +166,9 @@ const Logbook: React.FC<unknown> = () => {
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<unknown> = () => {
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',