@makeswift/runtime 0.0.1 → 0.0.2

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.es.js CHANGED
@@ -7492,7 +7492,7 @@ const Text = forwardRef(function Text2({
7492
7492
  }, [shouldCommit]);
7493
7493
  function handleChange(change) {
7494
7494
  setValue(change.value);
7495
- if (change.value.document !== value.document) {
7495
+ if (change.value !== value) {
7496
7496
  setShouldCommit(false);
7497
7497
  controller == null ? void 0 : controller.onChange(change);
7498
7498
  }