@chakra-ui/live-region
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Change Log | ||
## 1.0.2 | ||
### Patch Changes | ||
- Updated dependencies | ||
[[`e73878ee`](https://github.com/chakra-ui/chakra-ui/commit/e73878ee686c11d3f94ad6ac61b19ae9508d75a5)]: | ||
- @chakra-ui/utils@1.0.2 | ||
## 1.0.1 | ||
@@ -4,0 +12,0 @@ |
@@ -5,6 +5,4 @@ import * as React from "react"; | ||
var [liveRegion] = React.useState(() => new LiveRegion(options)); | ||
React.useEffect(() => { | ||
return () => { | ||
liveRegion.destroy(); | ||
}; | ||
React.useEffect(() => () => { | ||
liveRegion.destroy(); | ||
}, [liveRegion]); | ||
@@ -11,0 +9,0 @@ return liveRegion; |
{ | ||
"name": "@chakra-ui/live-region", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Aria live region for React components", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/utils": "1.0.1" | ||
"@chakra-ui/utils": "1.0.2" | ||
}, | ||
@@ -59,0 +59,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31907
259
+ Added@chakra-ui/utils@1.0.2(transitive)
- Removed@chakra-ui/utils@1.0.1(transitive)
Updated@chakra-ui/utils@1.0.2