Skip to content

Commit 54feedf

Browse files
authored
Fix table panel (#75)
1 parent a25c3ab commit 54feedf

File tree

1 file changed

+0
-2
lines changed
  • packages/grafana-ui/src/components/Table

1 file changed

+0
-2
lines changed

packages/grafana-ui/src/components/Table/Table.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ export const Table = memo((props: Props) => {
6363
const tableStyles = useTableStyles(theme, cellHeight);
6464
const headerHeight = noHeader ? 0 : tableStyles.rowHeight;
6565
const [footerItems, setFooterItems] = useState<FooterItem[] | undefined>(footerValues);
66-
const [expandedIndexes, setExpandedIndexes] = useState<Set<number>>(new Set());
67-
const prevExpandedIndexes = usePrevious(expandedIndexes);
6866

6967
const footerHeight = useMemo(() => {
7068
const EXTENDED_ROW_HEIGHT = FOOTER_ROW_HEIGHT;

0 commit comments

Comments
 (0)