Skip to content

Commit

Permalink
*feat upgrade react-table from 7 to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Sodik committed Dec 18, 2024
1 parent 314cb1c commit 43a0371
Show file tree
Hide file tree
Showing 3 changed files with 689 additions and 46 deletions.
2 changes: 0 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"@popperjs/core": "^2.11.7",
"@tanstack/react-table": "^8.20.5",
"@types/react-modal": "3.16.0",
"@types/react-table": "^7.7.14",
"classnames": "^2.3.2",
"date-fns": "^2.29.3",
"dequal": "^2.0.3",
Expand All @@ -69,7 +68,6 @@
"react-resize-aware": "3.1.1",
"react-select": "^5.8.0",
"react-simple-timefield": "^3.3.1",
"react-table": "^7.8.0",
"react-uid": "^2.3.2",
"react-use": "^17.4.0",
"use-deep-compare": "^1.1.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/ui/src/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ export const ContextMenu = ({ anchorElement, offset, items }: ContextMenuProps)
let left = e.pageX + (currentOffset?.left ?? 0)
let top = e.pageY + (currentOffset?.top ?? 0)

console.log(e.pageX)

if (left + width > window.scrollX + document.documentElement.clientWidth) {
left = window.scrollX + document.documentElement.clientWidth - width
}
Expand Down
Loading

0 comments on commit 43a0371

Please sign in to comment.