fix linter issue
This commit is contained in:
parent
0ba802bf26
commit
3d35875bed
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@ import { CellContext } from '@tanstack/react-table';
|
|||
import BytesFormatted from 'components/common/BytesFormatted/BytesFormatted';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const SizeCell: React.FC<CellContext<any, unknown> & { renderSegments?: boolean }> = ({ getValue, row, renderSegments = false }) => (
|
||||
type AsAny = any;
|
||||
|
||||
const SizeCell: React.FC<
|
||||
CellContext<AsAny, unknown> & { renderSegments?: boolean }
|
||||
> = ({ getValue, row, renderSegments = false }) => (
|
||||
<>
|
||||
<BytesFormatted value={getValue<string | number>()} />
|
||||
{renderSegments ? `, ${row?.original.count} segment(s)` : null}
|
||||
|
|
Loading…
Add table
Reference in a new issue