Skip to content

Commit 17ed544

Browse files
fix(AnalyticalTable): update react-table (#616)
Update to 7.3.2 which includes: - feat: Add reset column resizing - fix: bug in subRows sortData - fix: enforce `useColumnOrder` before `useGroupBy`
1 parent 47d3f16 commit 17ed544

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/main/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"lodash.debounce": "^4.0.8",
3737
"react-content-loader": "5.1.0",
3838
"react-jss": "10.1.1",
39-
"react-table": "7.2.2",
39+
"react-table": "7.3.2",
4040
"react-virtual": "2.2.1"
4141
},
4242
"peerDependencies": {

packages/main/src/components/AnalyticalTable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ const AnalyticalTable: FC<TableProps> = forwardRef((props: TableProps, ref: Ref<
227227
...reactTableOptions
228228
},
229229
useFilters,
230-
useGroupBy,
231230
useColumnOrder,
231+
useGroupBy,
232232
useSortBy,
233233
useExpanded,
234234
useRowSelect,

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4481,7 +4481,7 @@
44814481
dependencies:
44824482
"@types/react" "*"
44834483

4484-
"@types/react@*", "@types/react@16.9.34", "@types/react@^16.9.34":
4484+
"@types/react@*", "@types/react@^16.9.34":
44854485
version "16.9.34"
44864486
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.34.tgz#f7d5e331c468f53affed17a8a4d488cd44ea9349"
44874487
integrity sha512-8AJlYMOfPe1KGLKyHpflCg5z46n0b5DbRfqDksxBLBTUpB75ypDBAO9eCUcjNwE6LCUslwTz00yyG/X9gaVtow==
@@ -16870,10 +16870,10 @@ react-syntax-highlighter@^12.2.1:
1687016870
prismjs "^1.8.4"
1687116871
refractor "^2.4.1"
1687216872

16873-
react-table@7.2.2:
16874-
version "7.2.2"
16875-
resolved "https://registry.yarnpkg.com/react-table/-/react-table-7.2.2.tgz#2978a903f0e367e1ceab25d60a6a40ae23498f77"
16876-
integrity sha512-JBE3QUyRQJkHRU72NKo7HRGtSGcrzIcVLDbsoZI+KhWkFEZ2t9UfpqeHBdbc3R5RRJZ6qC7+NzZZxJPSYWKPBQ==
16873+
react-table@7.3.2:
16874+
version "7.3.2"
16875+
resolved "https://registry.yarnpkg.com/react-table/-/react-table-7.3.2.tgz#def43b9777e0ef5839608104a557c3f1c365b2ff"
16876+
integrity sha512-n8ZvC8tzuDa3qK9PFlcXmo58JCRfxg/3LlvG8YJywvsQKiCnTfK6lDSp8a3WsAOBcZvBtGgyeoke7pBfAdB8jA==
1687716877

1687816878
react-test-renderer@^16.0.0-0:
1687916879
version "16.13.1"

0 commit comments

Comments
 (0)