sapo-components-ui-rn 1.1.78 → 1.1.79

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.esm.js CHANGED
@@ -4827,10 +4827,9 @@ var TextInputFlat = function (_a) {
4827
4827
  onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText("");
4828
4828
  }
4829
4829
  else {
4830
- if (inputValue !== value)
4831
- setInputValue(value || "");
4830
+ setInputValue(value || "");
4832
4831
  }
4833
- }, [value, inputValue]);
4832
+ }, [value]);
4834
4833
  var handleChangeText = function (text) {
4835
4834
  setInputValue(text);
4836
4835
  onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(text);
@@ -5154,10 +5153,9 @@ var TextInputDefault = function (_a) {
5154
5153
  onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText("");
5155
5154
  }
5156
5155
  else {
5157
- if (inputValue !== value)
5158
- setInputValue(value || "");
5156
+ setInputValue(value || "");
5159
5157
  }
5160
- }, [value, inputValue]);
5158
+ }, [value]);
5161
5159
  var handleChangeText = function (text) {
5162
5160
  setInputValue(text);
5163
5161
  onChangeText === null || onChangeText === void 0 ? void 0 : onChangeText(text);