yootd 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/aside/index.js +2 -0
- package/package.json +1 -1
package/dist/aside/index.js
CHANGED
@@ -162,6 +162,8 @@ export var Aside = function Aside(_ref) {
|
|
162
162
|
useEffect(function () {
|
163
163
|
if (data != null && (data === null || data === void 0 ? void 0 : data.length) > 0) {
|
164
164
|
setDataValue(data);
|
165
|
+
} else {
|
166
|
+
setDataValue([]);
|
165
167
|
}
|
166
168
|
}, [data]);
|
167
169
|
return /*#__PURE__*/React.createElement("div", {
|