@deque/cauldron-react 6.27.0-canary.41e9f837 → 6.27.0-canary.4aff60c8

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1358,6 +1358,7 @@ function useSharedRef(ref) {
1358
1358
  var internalRef = React.useRef();
1359
1359
  React.useEffect(function () {
1360
1360
  setRef(ref, internalRef.current);
1361
+ return function () { return setRef(ref, null); };
1361
1362
  }, [ref]);
1362
1363
  return internalRef;
1363
1364
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-react",
3
- "version": "6.27.0-canary.41e9f837",
3
+ "version": "6.27.0-canary.4aff60c8",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Fully accessible react components library for Deque Cauldron",
6
6
  "homepage": "https://cauldron.dequelabs.com/",