summaryrefslogtreecommitdiff
path: root/src/components/ConnectionTable.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ConnectionTable.tsx')
-rw-r--r--src/components/ConnectionTable.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ConnectionTable.tsx b/src/components/ConnectionTable.tsx
index 6d9f86e..cc9695a 100644
--- a/src/components/ConnectionTable.tsx
+++ b/src/components/ConnectionTable.tsx
@@ -24,7 +24,7 @@ const columns = [
{ Header: 'Type', accessor: 'type' },
];
-function renderCell(cell) {
+function renderCell(cell: { column: { id: string }; value: number }) {
switch (cell.column.id) {
case 'start':
return formatDistance(cell.value, 0);