From 2fff145891c22cb4f4e3617013f834687d8fd480 Mon Sep 17 00:00:00 2001 From: Alex Lende Date: Tue, 3 Dec 2024 13:04:58 -0600 Subject: [PATCH] Fix variable name typo --- .../block-editor/src/components/iframe/use-scale-canvas.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/block-editor/src/components/iframe/use-scale-canvas.js b/packages/block-editor/src/components/iframe/use-scale-canvas.js index 29a505d1f6df58..0d423affe768a2 100644 --- a/packages/block-editor/src/components/iframe/use-scale-canvas.js +++ b/packages/block-editor/src/components/iframe/use-scale-canvas.js @@ -147,10 +147,10 @@ const NULL_SIZE = { width: null, height: null }; * @return {ObservedSize} Latest width and height of the observed element. */ function extractSize( entries ) { - const contentBlockSize = entries.at( -1 ).contentBoxSize[ 0 ]; + const contentBoxSize = entries.at( -1 ).contentBoxSize[ 0 ]; return { - width: contentBlockSize.inlineSize, - height: contentBlockSize.blockSize, + width: contentBoxSize.inlineSize, + height: contentBoxSize.blockSize, }; }