[automated] Apply ESLint and Oxfmt fixes

This commit is contained in:
GitHub Action
2026-04-10 11:52:55 +00:00
parent 20198f1465
commit 3159921280

View File

@@ -70,7 +70,7 @@ function updateContentBounds() {
if (sampleNodeId !== null && nodes.size > 0 && !nodes.has(sampleNodeId)) {
contentBounds.reset()
}
sampleNodeId = nodes.size > 0 ? nodes.keys().next().value ?? null : null
sampleNodeId = nodes.size > 0 ? (nodes.keys().next().value ?? null) : null
for (const [, layout] of nodes) {
contentBounds.expandToInclude(layout.bounds)