@ledvance/ui-biz-bundle 1.1.119 → 1.1.121

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/ui-biz-bundle",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.119",
7
+ "version": "1.1.121",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@ledvance/base": "^1.x",
@@ -122,7 +122,7 @@ const EnergyConsumptionPage = (props: {theme?: ThemeType}) => {
122
122
  }, [state.totalElectricity, state.energyGeneration.totalElectricity])
123
123
 
124
124
  useUpdateEffect(() =>{
125
- if(totalElectricity > 0 && timeZoneCity){
125
+ if(totalElectricity >= 0 && timeZoneCity){
126
126
  const letOut = carbonDioxideEmission(timeZoneCity, countryAndRegion) || 0
127
127
  state.co2Saved = localeNumber((letOut * totalElectricity) / 1000, 4)
128
128
  }