diff --git a/package-lock.json b/package-lock.json index 4a4325008..2e2119666 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "@flanksource/flanksource-ui", - "version": "1.0.760", + "version": "1.0.779", "dependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@clerk/nextjs": "^5.3.0", @@ -17,7 +17,7 @@ "@heroicons/react": "^1.0.3", "@hookform/resolvers": "^2.8.8", "@monaco-editor/react": "^4.6.0", - "@netlify/plugin-nextjs": "^5.1.2", + "@netlify/plugin-nextjs": "^5.7.1", "@next/bundle-analyzer": "^14.2.5", "@ory/client": "^1.2.11", "@ory/integrations": "^1.1.5", @@ -4582,9 +4582,9 @@ } }, "node_modules/@netlify/plugin-nextjs": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@netlify/plugin-nextjs/-/plugin-nextjs-5.1.2.tgz", - "integrity": "sha512-rftBlZmrkxy8zeXZ/tT2u/v2iIZd9s0cV7MdtjUFOgizjhtY0fCZEUQ7OIEQIMogzGNMDXFcb84HXX9a8OZ8/w==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@netlify/plugin-nextjs/-/plugin-nextjs-5.7.1.tgz", + "integrity": "sha512-32e2q8VqnyxfJixMypuupuHW+3F0XbP/uGNNB79Vn1asYh/oTbR9XBi4Cxnmgthy9hycaiMHm8SftGI+uWJmQw==", "engines": { "node": ">=18.0.0" } diff --git a/package.json b/package.json index f45ef3fb4..f02742e85 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@heroicons/react": "^1.0.3", "@hookform/resolvers": "^2.8.8", "@monaco-editor/react": "^4.6.0", - "@netlify/plugin-nextjs": "^5.1.2", + "@netlify/plugin-nextjs": "^5.7.1", "@next/bundle-analyzer": "^14.2.5", "@ory/client": "^1.2.11", "@ory/integrations": "^1.1.5", @@ -221,4 +221,4 @@ "workerDirectory": "public" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" -} +} \ No newline at end of file diff --git a/src/ui/MRTDataTable/MRTDataTable.tsx b/src/ui/MRTDataTable/MRTDataTable.tsx index 1d5094216..90e9c7cf3 100644 --- a/src/ui/MRTDataTable/MRTDataTable.tsx +++ b/src/ui/MRTDataTable/MRTDataTable.tsx @@ -2,6 +2,7 @@ import { VisibilityState } from "@tanstack/react-table"; import { MantineReactTable, MRT_ColumnDef, + MRT_Row, useMantineReactTable } from "mantine-react-table"; import useReactTablePaginationState from "../DataTable/Hooks/useReactTablePaginationState"; @@ -63,7 +64,7 @@ export default function MRTDataTable = {}>({ autoResetPageIndex: false, onPaginationChange: setPageIndex, onSortingChange: setSortState, - mantineTableBodyRowProps: ({ row }) => ({ + mantineTableBodyRowProps: ({ row }: { row: MRT_Row }) => ({ onClick: () => onRowClick(row.original), sx: { cursor: "pointer", maxHeight: "100%", overflowY: "auto" } }),