From 2dfc19309462701802159ded813d413196d918ca Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Mon, 2 Nov 2020 00:17:12 +0800 Subject: [PATCH] Chore: use current key for connection rows --- src/containers/Connections/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/containers/Connections/index.tsx b/src/containers/Connections/index.tsx index 075ca85..4603205 100644 --- a/src/containers/Connections/index.tsx +++ b/src/containers/Connections/index.tsx @@ -241,18 +241,18 @@ export default function Connections() {
{ - rows.map((row, i) => { + rows.map(row => { prepareRow(row) return ( -
+
{ - row.cells.map((cell, j) => { + row.cells.map(cell => { const classname = classnames( 'connections-block', { center: shouldCenter.has(cell.column.id), completed: row.original.completed } ) return ( -
+
{ renderCell(cell)}
)