indicator-ui 0.0.65 → 0.0.66
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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9546,8 +9546,8 @@ function SelectField({ value, onChange, options = [], placeholder, isError, sear
|
|
|
9546
9546
|
requestPromiseRef.current = requestPromise;
|
|
9547
9547
|
const newOptions = await requestPromise;
|
|
9548
9548
|
setOptionsState(prevState => {
|
|
9549
|
+
requestPromiseRef.current = undefined;
|
|
9549
9550
|
if (newOptions !== undefined) {
|
|
9550
|
-
requestPromiseRef.current = undefined;
|
|
9551
9551
|
return [...prevState, ...newOptions];
|
|
9552
9552
|
}
|
|
9553
9553
|
return prevState;
|