diff --git a/packages/grafana-ui/src/components/Table/FooterRow.tsx b/packages/grafana-ui/src/components/Table/FooterRow.tsx index f92a393a811..59a4659f3d8 100644 --- a/packages/grafana-ui/src/components/Table/FooterRow.tsx +++ b/packages/grafana-ui/src/components/Table/FooterRow.tsx @@ -23,7 +23,7 @@ export const FooterRow = (props: FooterRowProps) => { const tableStyles = useStyles2(getTableStyles); return ( - { {footerGroups.map((footerGroup: HeaderGroup) => { const { key, ...footerGroupProps } = footerGroup.getFooterGroupProps(); return ( - - - {footerGroup.headers.map((column: ColumnInstance, index: number) => - renderFooterCell(column, tableStyles, height) - )} - - + {footerGroup.headers.map((column: ColumnInstance, index: number) => + renderFooterCell(column, tableStyles, height) + )} + ); })} -
+ ); }; @@ -67,9 +65,9 @@ function renderFooterCell(column: ColumnInstance, tableStyles: TableStyles, heig } return ( - +
{column.render('Footer')} - +
); }