fixed linter warnings

This commit is contained in:
Arek Ouzounian
2023-01-06 15:22:02 -08:00
parent 7701557b99
commit 79d2f738a2
+2 -3
View File
@@ -79,9 +79,8 @@ class DomMeasureStrategy implements IMeasureStrategy {
// Note that this triggers a synchronous layout
const geometry = {
height: Number(this._measureElement.offsetHeight),
width: Number(this._measureElement.offsetWidth),
}
width: Number(this._measureElement.offsetWidth)
};
// If values are 0 then the element is likely currently display:none, in which case we should
// retain the previous value.