@fixefy/fixefy-ui-components 0.2.25 → 0.2.26
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.
|
@@ -165,9 +165,6 @@ const FxAsyncDropdown = /*#__PURE__*/ _react.default.forwardRef((props)=>{
|
|
|
165
165
|
if (!disabled) {
|
|
166
166
|
fetch();
|
|
167
167
|
}
|
|
168
|
-
return ()=>{
|
|
169
|
-
sessionStorage.removeItem(`dropdown-${query}`);
|
|
170
|
-
};
|
|
171
168
|
}, []);
|
|
172
169
|
(0, _react.useEffect)(()=>{
|
|
173
170
|
const storedData = sessionStorage.getItem(`dropdown-${query}`);
|
|
@@ -83,11 +83,6 @@ const FxStaticDropdown = /*#__PURE__*/ _react.default.forwardRef((props)=>{
|
|
|
83
83
|
}, [
|
|
84
84
|
query
|
|
85
85
|
]);
|
|
86
|
-
(0, _react.useEffect)(()=>{
|
|
87
|
-
return ()=>{
|
|
88
|
-
sessionStorage.removeItem(`dropdown-${query}`);
|
|
89
|
-
};
|
|
90
|
-
}, []);
|
|
91
86
|
const addToStoredDisplayed = (option)=>{
|
|
92
87
|
const prevStored = sessionStorage.getItem(`dropdown-${query}`);
|
|
93
88
|
let data = prevStored ? JSON.parse(prevStored) : {};
|
package/package.json
CHANGED