opus-toolkit-components 0.8.1 → 0.8.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.
|
@@ -12310,8 +12310,7 @@ function Dropdown(_ref) {
|
|
|
12310
12310
|
disabled = false,
|
|
12311
12311
|
dataCy // optional override
|
|
12312
12312
|
} = _ref;
|
|
12313
|
-
const
|
|
12314
|
-
const [selectedItem, setSelectedItem] = (0,external_react_.useState)(initialSelectedItem);
|
|
12313
|
+
const [selectedItem, setSelectedItem] = (0,external_react_.useState)(null);
|
|
12315
12314
|
const [isOpen, setIsOpen] = (0,external_react_.useState)(false);
|
|
12316
12315
|
(0,external_react_.useEffect)(() => {
|
|
12317
12316
|
const newSelectedItem = items.find(item => item.value === value) || null;
|
|
@@ -12553,4 +12552,4 @@ const Pill = _ref => {
|
|
|
12553
12552
|
/******/ })()
|
|
12554
12553
|
;
|
|
12555
12554
|
});
|
|
12556
|
-
//# sourceMappingURL=main.
|
|
12555
|
+
//# sourceMappingURL=main.ac163118cf08b8a8b6fc.js.map
|