Fix dynamically changing columns crashing the table component
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
This commit is contained in:
committed by
Johan Persson
parent
191ff20e1e
commit
a0fe1b2dd6
@@ -176,6 +176,7 @@ export function Table<T extends TableItem>({
|
||||
</TableHeader>
|
||||
<TableBody
|
||||
items={data}
|
||||
dependencies={[visibleColumns]}
|
||||
renderEmptyState={
|
||||
emptyState ? () => <Flex p="3">{emptyState}</Flex> : undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user