Update frontend packages

- Major update for react-table
- Fix Hosts menu staying around after selecting a menu item
This commit is contained in:
Jamie Curnow committed 2026-08-22 23:23:20 +10:00
1 parent 4e2b052b50
commit 4ecb047299
36 files changed
+1221 -1051

No files matched your search

+5 -4
View File
@@ -1,9 +1,10 @@
import type { Table as ReactTable } from "@tanstack/react-table";
import type { Table as ReactTable, RowData } from "@tanstack/react-table";
import type { Features } from "./features";
interface Props {
tableInstance: ReactTable<any>;
interface Props<TData extends RowData> {
tableInstance: ReactTable<Features, TData>;
}
function EmptyRow({ tableInstance }: Props) {
function EmptyRow<TData extends RowData>({ tableInstance }: Props<TData>) {
return (
<tr>
<td colSpan={tableInstance.getVisibleFlatColumns().length}>