Skip to content

Commit 96b8748

Browse files
author
Leshe4ka
committed
fix ts error
1 parent 668206c commit 96b8748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/Connect/Header/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ const Header = () => {
4040
>();
4141
const { data: connects = [] } = useConnects(clusterName, true);
4242

43-
const { table } = useTableInstance();
43+
const instance = useTableInstance();
4444

4545
const handleExportClick = () => {
46-
exportTableCSV(table, { prefix: getCsvPrefix(currentPath) });
46+
exportTableCSV(instance?.table, { prefix: getCsvPrefix(currentPath) });
4747
};
4848

4949
return (

0 commit comments

Comments
 (0)