fix: weight tooltip issue (#19397)

* fix: weight tooltip issue

* remove console
This commit is contained in:
Smart-Codi 2022-04-06 11:28:24 -04:00 committed by GitHub
parent 4680580c40
commit f6d550b7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ function setTooltipContent(o) {
label={`${t('Longitude and Latitude')}: `} label={`${t('Longitude and Latitude')}: `}
value={`${o.coordinate[0]}, ${o.coordinate[1]}`} value={`${o.coordinate[0]}, ${o.coordinate[1]}`}
/> />
<TooltipRow label={`${t('Weight')}: `} value={`${o.object.weight}`} /> <TooltipRow label={`${t('Weight')}: `} value={`${o.object.cellWeight}`} />
</div> </div>
); );
} }