@homebound/beam 2.343.2 → 2.343.3

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.
@@ -59,7 +59,7 @@ function ComboBoxBase(props) {
59
59
  // Though, it is possible that the `options` prop has changed, which is a dependency on this `useMemo`.
60
60
  // That could trigger an unnecessary new reference for `selectedOptions`, and cause additional renders or unexpected state changes.
61
61
  // We should avoid updating `selectedOptions` unless `values` has actually changed.
62
- if (!(0, fast_deep_equal_1.default)(values.sort(), selectedOptionsRef.current.map(getOptionValue).sort())) {
62
+ if (!(0, fast_deep_equal_1.default)([...values].sort(), selectedOptionsRef.current.map(getOptionValue).sort())) {
63
63
  selectedOptionsRef.current = options.filter((o) => values.includes(getOptionValue(o)));
64
64
  }
65
65
  return selectedOptionsRef.current;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.343.2",
3
+ "version": "2.343.3",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",