myoperator-ui 0.0.184 → 0.0.185
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2234,11 +2234,11 @@ const SelectField = React.forwardRef<HTMLButtonElement, SelectFieldProps>(
|
|
|
2234
2234
|
// no-op.
|
|
2235
2235
|
const handleItemClick = React.useCallback(
|
|
2236
2236
|
(option: SelectOption) => {
|
|
2237
|
-
if (option.value === value
|
|
2238
|
-
|
|
2237
|
+
if (option.value === value) {
|
|
2238
|
+
handleValueChange(option.value);
|
|
2239
2239
|
}
|
|
2240
2240
|
},
|
|
2241
|
-
[value,
|
|
2241
|
+
[value, handleValueChange]
|
|
2242
2242
|
);
|
|
2243
2243
|
|
|
2244
2244
|
// Derive state from props
|