@patternfly/react-table 4.104.5 → 4.104.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-table",
3
- "version": "4.104.5",
3
+ "version": "4.104.8",
4
4
  "description": "This library provides a set of React table components for use with the PatternFly 4",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -31,10 +31,10 @@
31
31
  "clean": "rimraf dist"
32
32
  },
33
33
  "dependencies": {
34
- "@patternfly/react-core": "^4.235.5",
35
- "@patternfly/react-icons": "^4.86.5",
36
- "@patternfly/react-styles": "^4.85.5",
37
- "@patternfly/react-tokens": "^4.87.5",
34
+ "@patternfly/react-core": "^4.235.8",
35
+ "@patternfly/react-icons": "^4.86.8",
36
+ "@patternfly/react-styles": "^4.85.8",
37
+ "@patternfly/react-tokens": "^4.87.8",
38
38
  "lodash": "^4.17.19",
39
39
  "tslib": "^2.0.0"
40
40
  },
@@ -46,5 +46,5 @@
46
46
  "react": "^16.8.0 || ^17.0.0",
47
47
  "react-dom": "^16.8.0 || ^17.0.0"
48
48
  },
49
- "gitHead": "6ec6b7c439ec2475f03ddfdc9ad494396aecb6a6"
49
+ "gitHead": "6c9b5c5d59f891999837cd42cf974865548e6b7a"
50
50
  }
@@ -95,7 +95,8 @@ const TableComposableBase: React.FunctionComponent<TableComposableProps> = ({
95
95
  selectableRowCaptionText,
96
96
  ...props
97
97
  }: TableComposableProps) => {
98
- const tableRef = innerRef || React.useRef(null);
98
+ const ref = React.useRef(null);
99
+ const tableRef = innerRef || ref;
99
100
 
100
101
  const [hasSelectableRows, setHasSelectableRows] = React.useState(false);
101
102
  const [tableCaption, setTableCaption] = React.useState<JSX.Element | undefined>();