react-magma-dom 2.5.11 → 2.5.12

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/esm/index.js CHANGED
@@ -23691,9 +23691,7 @@ var Textarea = /*#__PURE__*/forwardRef(function (props, ref) {
23691
23691
  setValue = _React$useState[1];
23692
23692
 
23693
23693
  useEffect(function () {
23694
- if (props.value) {
23695
- setValue(props.value);
23696
- }
23694
+ setValue(props.value);
23697
23695
  }, [props.value]);
23698
23696
 
23699
23697
  function handleChange(event) {
@@ -23723,7 +23721,7 @@ var Textarea = /*#__PURE__*/forwardRef(function (props, ref) {
23723
23721
  style: textareaStyle,
23724
23722
  theme: theme,
23725
23723
  value: value,
23726
- width: '100%'
23724
+ width: "100%"
23727
23725
  })));
23728
23726
  });
23729
23727