From b0b0edab16c99ce9cef0bbb4cd10e05a3cb3ffd7 Mon Sep 17 00:00:00 2001
From: Haishan <haishanhan@gmail.com>
Date: Sun, 6 Dec 2020 20:12:16 +0800
Subject: build: upgrade deps

---
 src/components/ConnectionTable.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/ConnectionTable.tsx')

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);
-- 
cgit v1.3.1

