From 2d3cbf65f3cab69da4ea00159f6c50accb5663eb Mon Sep 17 00:00:00 2001 From: Jake Laderman Date: Tue, 6 Aug 2024 23:03:04 -0400 Subject: [PATCH] fix: table error (#631) --- src/components/Table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Table.tsx b/src/components/Table.tsx index 3abcc220..a50f48a0 100644 --- a/src/components/Table.tsx +++ b/src/components/Table.tsx @@ -783,7 +783,7 @@ function TableRef( key={key} onClick={(e) => onRowClick?.(e, row)} $raised={raised} - $highlighted={row.id === highlightedRowId} + $highlighted={row?.id === highlightedRowId} $selectable={row?.getCanSelect() ?? false} $selected={row?.getIsSelected() ?? false} $clickable={!!onRowClick}