Skip to content

Commit

Permalink
Fix variable name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed Dec 3, 2024
1 parent 2d5127e commit 2fff145
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}

Expand Down

0 comments on commit 2fff145

Please sign in to comment.