@widergy/energy-ui 2.3.5 → 2.3.6
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.3.6](https://github.com/widergy/energy-ui/compare/v2.3.5...v2.3.6) (2023-06-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* handleSetShowLabel on first mount ([dc5ffaa](https://github.com/widergy/energy-ui/commit/dc5ffaa346f6ddb7472f8cc2cdceaf36f6498d22))
|
|
7
|
+
* mini fix ([c30a44c](https://github.com/widergy/energy-ui/commit/c30a44cf5b468179f8af991465dde748867b510c))
|
|
8
|
+
|
|
1
9
|
## [2.3.5](https://github.com/widergy/energy-ui/compare/v2.3.4...v2.3.5) (2023-05-10)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -41,6 +41,9 @@ var UTConsumptionBar = function UTConsumptionBar(_ref) {
|
|
|
41
41
|
(0, _react.useEffect)(function () {
|
|
42
42
|
window.addEventListener('resize', handleSetShowLabel);
|
|
43
43
|
});
|
|
44
|
+
(0, _react.useEffect)(function () {
|
|
45
|
+
handleSetShowLabel();
|
|
46
|
+
}, []);
|
|
44
47
|
var downIndicators = values.filter(function (value) {
|
|
45
48
|
return value.position === _constants.DOWN;
|
|
46
49
|
});
|