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 4a81657
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 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.

7 changes: 3 additions & 4 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 @@ -219,6 +219,5 @@
},
"msw": {
"workerDirectory": "public"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}
}
5 changes: 3 additions & 2 deletions 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 All @@ -81,7 +82,7 @@ export default function MRTDataTable<T extends Record<string, any> = {}>({
flex: "1 1 0"
}
},
mantineTableBodyCellProps: ({ column }) => ({
mantineTableBodyCellProps: () => ({
sx: {
zIndex: "auto"
}
Expand Down

0 comments on commit 4a81657

Please sign in to comment.