review comments

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-06-07 11:30:29 -04:00
1 parent a3073cc99b
commit 97f2ecd88d
3 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ export class Table<Item> extends React.Component<TableProps<Item>> {
});
}
getContent() {
private getContent() {
const { items, renderRow, children } = this.props;
const content = React.Children.toArray(children) as (TableRowElem | TableHeadElem)[];