fixing logbook unknown type
This commit is contained in:
@@ -166,9 +166,9 @@ const Logbook: React.FC<unknown> = () => {
|
|||||||
align: 'right',
|
align: 'right',
|
||||||
headerAlign: 'right'
|
headerAlign: 'right'
|
||||||
},
|
},
|
||||||
cell: (info) =>
|
cell: (info: any) =>
|
||||||
info.getValue() !== null
|
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',
|
align: 'right',
|
||||||
headerAlign: 'right'
|
headerAlign: 'right'
|
||||||
},
|
},
|
||||||
cell: (info) =>
|
cell: (info: any) =>
|
||||||
info.getValue() !== null
|
info.getValue() !== null
|
||||||
? parseFloat(info.getValue()!.toString()).toFixed(1)
|
? parseFloat(info.getValue()).toFixed(1)
|
||||||
: null
|
: ''
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'landings',
|
id: 'landings',
|
||||||
|
|||||||
Reference in New Issue
Block a user