diff --git a/app/src/components/logbook/columns.tsx b/app/src/components/logbook/columns.tsx index 5700510..b1a5aa0 100644 --- a/app/src/components/logbook/columns.tsx +++ b/app/src/components/logbook/columns.tsx @@ -60,7 +60,7 @@ const durationOfFlight: ColumnDef = { headerAlign: 'right' }, cell: (info: CellContext) => - info.getValue() ? parseFloat(info.getValue()).toFixed(1) : '', + info.getValue() ? parseFloat(info.getValue() as string).toFixed(1) : '', footer: (info) => columnTotal(info) > 0 ? columnTotal(info).toFixed(1) : '' } const notes: ColumnDef = {