@hexdspace/react 0.1.14 → 0.1.15
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1571,7 +1571,7 @@ function DialogContent({ className, ...props }) {
|
|
|
1571
1571
|
function AutoHeight({ children, freeze = false }) {
|
|
1572
1572
|
const ref = React2.useRef(null);
|
|
1573
1573
|
const [height, setHeight] = React2.useState("auto");
|
|
1574
|
-
React2.
|
|
1574
|
+
React2.useEffect(() => {
|
|
1575
1575
|
if (freeze) {
|
|
1576
1576
|
setHeight("auto");
|
|
1577
1577
|
return;
|