Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrmendy committed Jul 18, 2024
1 parent 0dcf85d commit d1bb61b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/src/components/inspector/inspector-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export const basicHugContentsApplicableForContainer = (
pathTrees: ElementPathTrees,
elementPath: ElementPath,
): boolean => {
const hasNonFixStickyOrAbsolute =
const isNonFixStickOrAbsolute =
mapDropNulls(
(path) => MetadataUtils.findElementByElementPath(metadata, path),
MetadataUtils.getChildrenPathsOrdered(metadata, pathTrees, elementPath),
Expand All @@ -277,7 +277,7 @@ export const basicHugContentsApplicableForContainer = (
MetadataUtils.findElementByElementPath(metadata, elementPath),
)

return hasNonFixStickyOrAbsolute && !isGrid
return isNonFixStickOrAbsolute && !isGrid
}

export const hugContentsApplicableForText = (
Expand Down

0 comments on commit d1bb61b

Please sign in to comment.