Skip to content

Commit

Permalink
chore: update both typescript and netlify runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Sep 18, 2024
1 parent bf37639 commit 4bd2ab0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -221,4 +221,4 @@
"workerDirectory": "public"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}
3 changes: 2 additions & 1 deletion src/ui/MRTDataTable/MRTDataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -63,7 +64,7 @@ export default function MRTDataTable<T extends Record<string, any> = {}>({
autoResetPageIndex: false,
onPaginationChange: setPageIndex,
onSortingChange: setSortState,
mantineTableBodyRowProps: ({ row }) => ({
mantineTableBodyRowProps: ({ row }: { row: MRT_Row<T> }) => ({
onClick: () => onRowClick(row.original),
sx: { cursor: "pointer", maxHeight: "100%", overflowY: "auto" }
}),
Expand Down

0 comments on commit 4bd2ab0

Please sign in to comment.